This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devpayProductCodes" : null, | |
"marketplaceProductCodes" : [ "1abc2defghijklm3nopqrs4tu" ], | |
"availabilityZone" : "us-west-2b", | |
"privateIp" : "10.158.112.84", | |
"version" : "2017-09-30", | |
"instanceId" : "i-1234567890abcdef0", | |
"billingProducts" : null, | |
"instanceType" : "t2.micro", | |
"accountId" : "123456789012", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devpayProductCodes" : null, | |
"marketplaceProductCodes" : [ "1abc2defghijklm3nopqrs4tu" ], | |
"availabilityZone" : "us-west-2b", | |
"privateIp" : "10.158.112.84", | |
"version" : "2017-09-30", | |
"instanceId" : "i-1234567890abcdef0", | |
"billingProducts" : null, | |
"instanceType" : "t2.micro", | |
"accountId" : "123456789012", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl get po -o wide | |
NAME READY STATUS RESTARTS AGE IP NODE | |
productpage-v1-ccc9696bb-r988m 1/1 Running 0 1d 100.127.0.13 pa2-par-master-0 | |
productpage-v1-ccc9696bb-pjtln 1/1 Running 1 1d 100.127.0.9 pa2-par-master-2 | |
productpage-v1-787896588-q4r87 1/1 . Running 0 1d 100.127.0.14 ny8-nyc-master-1 | |
productpage-v1-787896588-q4r87 1/1 . Running 0 1d 100.127.0.25 ny8-nyc-master-0 | |
productpage-v1-787896588-q4r87 1/1 . Running 0 1d 100.127.0.25 ams9-ams-master-1 | |
productpage-v1-787896588-q4r87 1/1 . Running 0 1d 100.127.0.34 ams9-ams-master-0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl get deployment | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
productpage-v1 6/6 6 6 1d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl get deployment | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
productpage-v1 6/6 6 6 1d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl create -f productpage.yml | |
deployment.extensions/productpage created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat productpage.yml | |
metadata: | |
name: productpage-v1 | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: productpage | |
version: v1 | |
template: |