AWS code-library documentation change
Summary
Added PowerShell V5 example for EKS Fargate profile creation with pod execution role
Security assessment
Documents IAM role usage (pod execution role) which is security-related, but no evidence of addressing a specific vulnerability. Focuses on proper security configuration.
Diff
diff --git a/code-library/latest/ug/eks_example_eks_CreateFargateProfile_section.md b/code-library/latest/ug/eks_example_eks_CreateFargateProfile_section.md index 5fb79626a..e86432795 100644 --- a//code-library/latest/ug/eks_example_eks_CreateFargateProfile_section.md +++ b//code-library/latest/ug/eks_example_eks_CreateFargateProfile_section.md @@ -283,0 +284,27 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This cmdlet creates an AWS Fargate profile for your Amazon EKS cluster. You must have at least one Fargate profile in a cluster to be able to schedule pods on Fargate infrastructure.** + + + New-EKSFargateProfile -FargateProfileName EKSFargateProfile -ClusterName TEST -Subnet "subnet-02f6ff500ff2067a0", "subnet-0cd976f08d5fbfaae" -PodExecutionRoleArn arn:aws:iam::012345678912:role/AmazonEKSFargatePodExecutionRole -Selector @{Namespace="default"} + + +**Output:** + + + ClusterName : TEST + CreatedAt : 12/26/2019 12:38:21 PM + FargateProfileArn : arn:aws:eks:us-east-2:012345678912:fargateprofile/TEST/EKSFargateProfile/20b7a11b-8292-41c1-bc56-ffa5e60f6224 + FargateProfileName : EKSFargateProfile + PodExecutionRoleArn : arn:aws:iam::012345678912:role/AmazonEKSFargatePodExecutionRole + Selectors : {Amazon.EKS.Model.FargateProfileSelector} + Status : CREATING + Subnets : {subnet-0cd976f08d5fbfaae, subnet-02f6ff500ff2067a0} + Tags : {} + + * For API details, see [CreateFargateProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +