I hereby claim:
- I am 0xahmed on github.
- I am 0xahmed (https://keybase.io/0xahmed) on keybase.
- I have a public key ASCgAv4S1HRJua51Yb7TaG9wdrTNJPDzhwK3Moe_8Mc5hwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
docker build -t dockbit/hacher:latest \ | |
-t dockbit/hacher:master . |
$ kubectl --namespace=production apply -f app-ingress-canary.yml | |
ingress "app-ingress" created | |
# If the backends report HEALTHY, we can start sending requests for testing the endpoints | |
$ kubectl --namespace=production describe ing | |
Name: app-ingress | |
Namespace: production | |
Address: 35.190.60.217 | |
Default backend: kubeapp-production-service:80 (10.44.1.10:8080,10.44.1.8:8080,10.44.1.9:8080) | |
Rules: |
kind: Ingress | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: app-ingress | |
spec: | |
backend: | |
serviceName: kubeapp-production-service | |
servicePort: 80 | |
rules: | |
- host: canary.foo.bar |
$ sed -i.bak "s#PROJECT_ID#$PROJECT_ID#" app-canary.yml | |
$ kubectl --namespace=production apply -f app-canary.yml | |
deployment "kubeapp-canary" created | |
service "kubeapp-canary-service" created |
$ kubectl --namespace=production apply -f app-ingress-production.yml | |
ingress "app-ingress" created | |
$ kubectl --namespace=production describe ingress | |
Name: app-ingress | |
Namespace: production | |
Address: 35.201.88.154 | |
Default backend: kubeapp-production-service:80 (10.44.0.12:8080,10.44.1.9:8080,10.44.2.8:8080) | |
Rules: | |
Host Path Backends |
kind: Ingress | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: app-ingress | |
spec: | |
backend: | |
serviceName: kubeapp-production-service | |
servicePort: 80 |
$ kubectl --namespace=production get service | |
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kubeapp-production-service 10.47.253.161 <nodes> 80:30848/TCP 40s |
$ sed -i.bak "s#PROJECT_ID#$PROJECT_ID#" app-production.yml | |
$ kubectl --namespace=production apply -f app-production.yml | |
deployment "kubeapp-production" created | |
service "kubeapp-production-service" created | |
$ kubectl --namespace=production rollout status deployment/kubeapp-production | |
Waiting for rollout to finish: 0 of 3 updated replicas are available... | |
Waiting for rollout to finish: 2 of 3 updated replicas are available... | |
deployment "kubeapp-production" successfully rolled out |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: kubeapp-production | |
spec: | |
replicas: 3 | |
template: | |
metadata: | |
name: kubeapp | |
labels: |