Last active
August 25, 2017 14:35
-
-
Save roll4life/2cbaad645379f3db6998d2e08f70f664 to your computer and use it in GitHub Desktop.
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 services,endpoints | |
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
svc/default-http-backend 10.152.183.207 <none> 80/TCP 37d | |
svc/kubernetes 10.152.183.1 <none> 443/TCP 37d | |
svc/microbot 10.152.183.121 <none> 80/TCP 1m | |
NAME ENDPOINTS AGE | |
ep/default-http-backend 10.1.96.8:80 37d | |
ep/kubernetes 10.5.7.28:6443 37d | |
ep/microbot 10.1.22.12:80,10.1.32.7:80,10.1.96.9:80 1m | |
kubectl get ingress | |
NAME HOSTS ADDRESS PORTS AGE | |
microbot-ingress microbot.10.148.0.105.xip.io 80 1m | |
kubectl logs nginx-ingress-controller-b4100 | grep microbot | |
I0825 13:35:36.291224 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603352", FieldPath:""}): type: 'Normal' reason: 'CREATE' default/microbot-ingress | |
I0825 13:35:36.303042 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603356", FieldPath:""}): type: 'Normal' reason: 'UPDATE' default/microbot-ingress | |
I0825 13:35:36.310180 1 controller.go:491] Updating loadbalancer default/microbot-ingress with IP | |
I0825 13:35:36.377252 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603364", FieldPath:""}): type: 'Normal' reason: 'UPDATE' default/microbot-ingress | |
I0825 13:35:36.406643 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603356", FieldPath:""}): type: 'Normal' reason: 'CREATE' ip: | |
kubectl logs nginx-ingress-controller-s87s1 | grep microbot | |
I0825 13:35:36.233373 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603352", FieldPath:""}): type: 'Normal' reason: 'CREATE' default/microbot-ingress | |
I0825 13:35:36.241123 1 controller.go:491] Updating loadbalancer default/microbot-ingress with IP | |
I0825 13:35:36.270934 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603352", FieldPath:""}): type: 'Normal' reason: 'CREATE' ip: | |
I0825 13:35:36.271831 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603356", FieldPath:""}): type: 'Normal' reason: 'UPDATE' default/microbot-ingress | |
I0825 13:35:36.378738 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603364", FieldPath:""}): type: 'Normal' reason: 'UPDATE' default/microbot-ingress | |
kubectl logs nginx-ingress-controller-zc1zt | grep microbot | |
I0825 13:35:36.232599 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603352", FieldPath:""}): type: 'Normal' reason: 'CREATE' default/microbot-ingress | |
I0825 13:35:36.243059 1 controller.go:491] Updating loadbalancer default/microbot-ingress with IP | |
I0825 13:35:36.270048 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603356", FieldPath:""}): type: 'Normal' reason: 'UPDATE' default/microbot-ingress | |
W0825 13:35:36.271359 1 utils.go:91] requeuing default/microbot-ingress, err Operation cannot be fulfilled on ingresses.extensions "microbot-ingress": the object has been modified; please apply your changes to the latest version and try again | |
I0825 13:35:36.271594 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603352", FieldPath:""}): type: 'Warning' reason: 'UPDATE' error: Operation cannot be fulfilled on ingresses.extensions "microbot-ingress": the object has been modified; please apply your changes to the latest version and try again | |
I0825 13:35:36.376350 1 event.go:216] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"microbot-ingress", UID:"46b28ffd-899a-11e7-9b12-fa163e202855", APIVersion:"extensions", ResourceVersion:"6603364", FieldPath:""}): type: 'Normal' reason: 'UPDATE' default/microbot-ingress | |
W0825 13:35:39.704977 1 controller.go:841] service default/microbot does not have any active endpoints | |
W0825 13:35:39.706018 1 controller.go:777] upstream default-microbot-80 does not have any active endpoints. Using default backend | |
kubectl get pods | |
NAME READY STATUS RESTARTS AGE | |
default-http-backend-j3h8p 1/1 Running 0 10h | |
microbot-3325520198-24g8l 1/1 Running 0 34m | |
microbot-3325520198-bgbh1 1/1 Running 0 34m | |
microbot-3325520198-dk8j5 1/1 Running 0 34m | |
nginx-ingress-controller-b4100 1/1 Running 0 10h | |
nginx-ingress-controller-s87s1 1/1 Running 1 14h | |
nginx-ingress-controller-zc1zt 1/1 Running 0 14h | |
kubectl get ing microbot-ingress -o yaml | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
creationTimestamp: 2017-08-25T13:35:36Z | |
generation: 1 | |
name: microbot-ingress | |
namespace: default | |
resourceVersion: "6603364" | |
selfLink: /apis/extensions/v1beta1/namespaces/default/ingresses/microbot-ingress | |
uid: 46b28ffd-899a-11e7-9b12-fa163e202855 | |
spec: | |
rules: | |
- host: microbot.10.148.0.105.xip.io | |
http: | |
paths: | |
- backend: | |
serviceName: microbot | |
servicePort: 80 | |
path: / | |
status: | |
loadBalancer: | |
ingress: | |
- {} | |
- {} | |
juju status | |
Model Controller Cloud/Region Version | |
k8s openstack-RegionOne openstack/RegionOne 2.1.2 | |
App Version Status Scale Charm Store Rev OS Notes | |
easyrsa 3.0.1 active 1 easyrsa jujucharms 12 ubuntu | |
etcd 2.3.8 active 3 etcd jujucharms 40 ubuntu | |
flannel active 4 flannel jujucharms 20 ubuntu | |
kubeapi-load-balancer 1.10.3 active 1 kubeapi-load-balancer jujucharms 16 ubuntu exposed | |
kubernetes-master 1.7.0 active 1 kubernetes-master jujucharms 35 ubuntu exposed | |
kubernetes-worker 1.7.0 active 3 kubernetes-worker jujucharms 40 ubuntu exposed | |
Unit Workload Agent Machine Public address Ports Message | |
easyrsa/0* active idle 0 10.148.0.117 Certificate Authority connected. | |
etcd/0* active idle 1 10.148.0.121 2379/tcp Healthy with 3 known peers | |
etcd/1 active idle 2 10.148.0.109 2379/tcp Healthy with 3 known peers | |
etcd/2 active idle 3 10.148.0.107 2379/tcp Healthy with 3 known peers | |
kubeapi-load-balancer/0* active idle 4 10.148.0.102 443/tcp Loadbalancer ready. | |
kubernetes-master/0* active idle 5 10.148.0.116 6443/tcp Kubernetes master running. | |
flannel/3* active idle 10.148.0.116 Flannel subnet 10.1.50.1/24 | |
kubernetes-worker/0 active idle 6 10.148.0.105 80/tcp,443/tcp,10250/tcp Kubernetes worker running. | |
flannel/2 active idle 10.148.0.105 Flannel subnet 10.1.96.1/24 | |
kubernetes-worker/1* active executing 7 10.148.0.114 80/tcp,443/tcp,10250/tcp (update-status) Kubernetes worker running. | |
flannel/1 active idle 10.148.0.114 Flannel subnet 10.1.32.1/24 | |
kubernetes-worker/2 active idle 8 10.148.0.128 80/tcp,443/tcp,10250/tcp Kubernetes worker running. | |
flannel/0 active idle 10.148.0.128 Flannel subnet 10.1.22.1/24 | |
Machine State DNS Inst id Series AZ | |
0 started 10.148.0.117 fb558940-7f1d-47f0-8bf1-a6bc743ea14f xenial nova | |
1 started 10.148.0.121 7c79670e-0d79-4eeb-807a-683bdf000c04 xenial nova | |
2 started 10.148.0.109 35918958-787b-47d9-a5b6-0a2c0af78900 xenial nova | |
3 started 10.148.0.107 68148aa1-b34e-4b99-a61a-59cef0d3429a xenial nova | |
4 started 10.148.0.102 666e2886-cb0f-4e86-893b-969fe4548460 xenial nova | |
5 started 10.148.0.116 e77e4023-1dc4-4d04-b836-ce67151c4896 xenial nova | |
6 started 10.148.0.105 df130233-43f6-4a48-a1f8-3ffb617d678c xenial nova | |
7 started 10.148.0.114 5fa851a1-78ca-4320-9415-f6108533d92b xenial nova | |
8 started 10.148.0.128 4cc2d7da-f02e-4444-94db-bf835a1c7820 xenial nova | |
Relation Provides Consumes Type | |
certificates easyrsa etcd regular | |
certificates easyrsa kubeapi-load-balancer regular | |
certificates easyrsa kubernetes-master regular | |
certificates easyrsa kubernetes-worker regular | |
cluster etcd etcd peer | |
etcd etcd flannel regular | |
etcd etcd kubernetes-master regular | |
cni flannel kubernetes-master regular | |
cni flannel kubernetes-worker regular | |
loadbalancer kubeapi-load-balancer kubernetes-master regular | |
kube-api-endpoint kubeapi-load-balancer kubernetes-worker regular | |
cni kubernetes-master flannel subordinate | |
kube-control kubernetes-master kubernetes-worker regular | |
cni kubernetes-worker flannel subordinate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment