Normal Scheduled 3m20s default-scheduler Successfully assigned eks-sample-app/eks-sample- linux-deployment- 65b7669776-m6qxz to ip- 192-168-45-132. Name: eks-sample- linux-deployment- 65b7669776-m6qxz For more information about ReplicaSets, see ReplicaSet in the Kubernetes documentation. The replicaset resource, even though it isn't specified in the sample For more informationĪbout pods, see Pods in the Kubernetes documentation. This isīecause 3 replicas were specified in the sample manifest. Sample manifests deployed in previous steps. In the output, you see the service and deployment that were specified in the Replicaset.apps/eks-sample- linux-deployment- 776d8f8fd8 3 3 3 27m Service/eks-sample- linux-service ClusterIP 10.100.74.8 80/TCP 32mĭeployment.apps/eks-sample- linux-deployment 3/3 3 3 27m NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE Pod/eks-sample- linux-deployment- 65b7669776-mmxvd 1/1 Running 0 27m "Add-WindowsFeature Web-Server Invoke-WebRequest -UseBasicParsing -Uri '' -OutFile 'C:\\ServiceMonitor.exe' echo 'Hello EKS!!!' > C:\\inetpub\\'w3svc' "Īpply the deployment manifest to your cluster. RequiredDuringSchedulingIgnoredDuringExecution: #IOBSERVE FOR WINDOWS WINDOWS#Windows nodes (for example) in your cluster, the image would The kubernetes.io/os: linux nodeSelector means that if you had Linux and Well-Known Labels, Annotations and Taints in the When deploying images that don't support a hardwareĪrchitecture type, or that you don't want the image deployed to, The image is supported on by viewing the imageĭetails in the repository that you're pulling itįrom. You can determine the hardware architecture that Possible because this image is a multi-architecture image, but Key mean that the application can be deployed to either hardwareĪrchitecture (if you have both in your cluster). The amd64 or arm64 values under the kubernetes.io/arch Sample application don't use network storage, but you might haveĪpplications that need to. Save the following contents to a file namedĮks-sample-deployment.yaml. You can deploy theĪpplication to Linux or Windows nodes. To learn more, see Deployments in the Kubernetes documentation. This sample deployment pulls a container imageįrom a public repository and deploys three replicas (individual pods) of it to yourĬluster. Your VPC must also have at least one private subnet.Ĭreate a Kubernetes deployment. Profile created in the getting started guides doesn't specify the namespace used in If you used one of the getting started guides to create your cluster, then you'll have toĬreate a new profile, or add the namespace to your existing profile, because the Same namespace created in this tutorial, which is eks-sample-app, If you plan to deploy your sample workload to Fargate, then you must have anĮxisting Fargate profile that includes the Kubectl configured to communicate with your cluster. For more information, see Installing or updating kubectl. Windows application, then you must have Windows support enabled for yourĬluster and at least one Amazon EC2 Windows node. If you don't have an existingĪmazon EKS cluster, you can deploy one using one of the Getting started with Amazon EKS guides. An existing Kubernetes cluster with at least one node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |