liwenwu-amazon / reinvent2018-NET410

15 stars 14 forks source link

Step missed -[ec2-user@ip-172-31-21-42 configFiles]$ kubectl apply -f serviceClusterIp.yaml #15

Closed izugbokwe closed 5 years ago

izugbokwe commented 5 years ago

[ec2-user@ip-172-31-21-42 configFiles]$ ls busyboxDeployment.yaml serviceClusterIp.yaml serviceNodePort.yaml client.yaml serviceLoadBalancer.yaml simpleHttpServer.yaml [ec2-user@ip-172-31-21-42 configFiles]$ kubectl apply -f serviceClusterIp.yaml service/service-clusterip created [ec2-user@ip-172-31-21-42 configFiles]$

pm010537 commented 5 years ago

Since the application is being created for the first time, activity uses: "kubectl -create" command instead of "kubectl -apply".

To edit/update running application one uses "kubectl apply"

izugbokwe commented 5 years ago

Since kubectl -apply can also be used should be keep one command to make consistent with EKS tasks ?

pm010537 commented 5 years ago

For kops, let's leave it create.