From 02d29cbeb0824e2036acb0597e5569b065fdae8c Mon Sep 17 00:00:00 2001 From: Clive Cox Date: Thu, 25 Jan 2018 13:30:29 +0000 Subject: [PATCH] revery kubectl demo notebook --- notebooks/kubectl_demo_minikube.ipynb | 121 ++++++++++++-------------- 1 file changed, 57 insertions(+), 64 deletions(-) diff --git a/notebooks/kubectl_demo_minikube.ipynb b/notebooks/kubectl_demo_minikube.ipynb index c05bfcfffc..0387511f9d 100644 --- a/notebooks/kubectl_demo_minikube.ipynb +++ b/notebooks/kubectl_demo_minikube.ipynb @@ -57,8 +57,8 @@ "output_type": "stream", "text": [ "$HELM_HOME has been configured at /home/clive/.helm.\n", - "Warning: Tiller is already installed in the cluster.\n", - "(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)\n", + "\n", + "Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.\n", "Happy Helming!\n" ] } @@ -188,7 +188,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 5, "metadata": { "collapsed": false }, @@ -198,73 +198,74 @@ "output_type": "stream", "text": [ "NAME: seldon-core\n", - "LAST DEPLOYED: Wed Jan 24 16:31:43 2018\n", + "LAST DEPLOYED: Tue Jan 9 16:38:47 2018\n", "NAMESPACE: default\n", "STATUS: DEPLOYED\n", "\n", "RESOURCES:\n", - "==> v1/Job\n", - "NAME DESIRED SUCCESSFUL AGE\n", - "grafana-prom-import-dashboards 1 0 2s\n", + "==> v1/Secret\n", + "NAME TYPE DATA AGE\n", + "grafana-prom-secret Opaque 1 4s\n", "\n", - "==> v1beta1/Deployment\n", - "NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE\n", - "alertmanager-deployment 1 1 1 0 2s\n", - "seldon-apiserver 1 1 1 0 2s\n", - "seldon-cluster-manager 1 1 1 0 2s\n", - "grafana-prom-deployment 1 1 1 0 2s\n", - "kafka 1 1 1 0 2s\n", - "prometheus-deployment 1 1 1 0 2s\n", - "redis 1 1 1 0 2s\n", + "==> v1/ConfigMap\n", + "NAME DATA AGE\n", + "alertmanager-server-conf 1 4s\n", + "grafana-import-dashboards 5 4s\n", + "prometheus-rules 4 4s\n", + "prometheus-server-conf 1 4s\n", "\n", - "==> v1/Service\n", - "NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n", - "alertmanager ClusterIP 10.109.60.246 80/TCP 2s\n", - "seldon-apiserver NodePort 10.108.75.248 8080:30032/TCP,5000:30033/TCP 2s\n", - "grafana-prom NodePort 10.106.21.7 80:30034/TCP 2s\n", - "kafka NodePort 10.103.159.220 9092:30010/TCP 2s\n", - "prometheus-node-exporter ClusterIP None 9100/TCP 2s\n", - "prometheus-seldon ClusterIP 10.102.249.205 80/TCP 2s\n", - "redis ClusterIP 10.103.92.39 6379/TCP 1s\n", - "zookeeper-1 ClusterIP 10.96.109.253 2181/TCP,2888/TCP,3888/TCP 1s\n", - "zookeeper-2 ClusterIP 10.100.165.161 2181/TCP,2888/TCP,3888/TCP 1s\n", - "zookeeper-3 ClusterIP 10.100.226.57 2181/TCP,2888/TCP,3888/TCP 1s\n", + "==> v1beta1/CustomResourceDefinition\n", + "NAME AGE\n", + "seldondeployments.machinelearning.seldon.io 4s\n", "\n", "==> v1/Pod\n", "NAME READY STATUS RESTARTS AGE\n", - "zookeeper-1 0/1 Pending 0 1s\n", - "zookeeper-2 0/1 Pending 0 1s\n", - "zookeeper-3 0/1 Pending 0 1s\n", + "zookeeper-1 0/1 Pending 0 2s\n", + "zookeeper-2 0/1 Pending 0 2s\n", + "zookeeper-3 0/1 Pending 0 2s\n", "\n", - "==> v1/Pod(related)\n", - "grafana-prom-import-dashboards-8x74c 0/1 ContainerCreating 0 2s\n", - "alertmanager-deployment-6f5c9c5f58-98jf8 0/1 ContainerCreating 0 2s\n", - "seldon-apiserver-85b66fd56f-pz5vx 0/1 ContainerCreating 0 2s\n", - "seldon-cluster-manager-7cb44ddc7-skbcc 0/1 ContainerCreating 0 2s\n", - "grafana-prom-deployment-bf46c5988-cmwtl 0/1 ContainerCreating 0 2s\n", - "kafka-68cc697c5-g464q 0/1 Pending 0 2s\n", - "prometheus-node-exporter-2qj8m 0/1 Pending 0 2s\n", - "prometheus-deployment-6b7f9fcbc6-bttk9 0/1 Pending 0 2s\n", - "redis-5767447797-j42t7 0/1 Pending 0 1s\n", + "==> v1/Job\n", + "NAME DESIRED SUCCESSFUL AGE\n", + "grafana-prom-import-dashboards 1 0 4s\n", "\n", - "==> v1/ConfigMap\n", - "NAME DATA AGE\n", - "alertmanager-server-conf 1 2s\n", - "grafana-import-dashboards 5 2s\n", - "prometheus-rules 4 2s\n", - "prometheus-server-conf 1 2s\n", + "==> v1beta1/Deployment\n", + "NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE\n", + "alertmanager-deployment 1 1 1 0 3s\n", + "seldon-apiserver 1 1 1 0 3s\n", + "seldon-cluster-manager 1 1 1 0 3s\n", + "grafana-prom-deployment 1 1 1 0 3s\n", + "kafka 1 1 1 0 3s\n", + "prometheus-deployment 1 1 1 0 3s\n", + "redis 1 1 1 0 3s\n", "\n", - "==> v1beta1/CustomResourceDefinition\n", - "NAME AGE\n", - "seldondeployments.machinelearning.seldon.io 2s\n", + "==> v1/Service\n", + "NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n", + "alertmanager ClusterIP 10.103.61.75 80/TCP 3s\n", + "seldon-apiserver NodePort 10.99.214.150 8080:30032/TCP,5000:30033/TCP 3s\n", + "grafana-prom NodePort 10.104.27.246 80:30034/TCP 3s\n", + "kafka NodePort 10.98.31.127 9092:30010/TCP 3s\n", + "prometheus-node-exporter ClusterIP None 9100/TCP 3s\n", + "prometheus-seldon ClusterIP 10.108.244.208 80/TCP 3s\n", + "redis ClusterIP 10.104.201.88 6379/TCP 3s\n", + "zookeeper-1 ClusterIP 10.102.144.71 2181/TCP,2888/TCP,3888/TCP 3s\n", + "zookeeper-2 ClusterIP 10.110.17.14 2181/TCP,2888/TCP,3888/TCP 3s\n", + "zookeeper-3 ClusterIP 10.109.110.125 2181/TCP,2888/TCP,3888/TCP 2s\n", "\n", "==> v1beta1/DaemonSet\n", "NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE\n", - "prometheus-node-exporter 1 1 0 1 0 2s\n", + "prometheus-node-exporter 1 1 0 1 0 3s\n", "\n", - "==> v1/Secret\n", - "NAME TYPE DATA AGE\n", - "grafana-prom-secret Opaque 1 2s\n", + "==> v1/Pod(related)\n", + "NAME READY STATUS RESTARTS AGE\n", + "grafana-prom-import-dashboards-c7gbj 0/1 ContainerCreating 0 3s\n", + "alertmanager-deployment-6f5c9c5f58-hzfvs 0/1 ContainerCreating 0 3s\n", + "seldon-apiserver-775c6f4cdf-8hzps 0/1 ContainerCreating 0 3s\n", + "seldon-cluster-manager-69fcb5f4-2vt2p 0/1 ContainerCreating 0 3s\n", + "grafana-prom-deployment-bf46c5988-89744 0/1 ContainerCreating 0 3s\n", + "kafka-68cc697c5-hhdvs 0/1 Pending 0 3s\n", + "prometheus-node-exporter-ddlkl 0/1 Pending 0 3s\n", + "prometheus-deployment-6b7f9fcbc6-f56n9 0/1 Pending 0 3s\n", + "redis-5767447797-h456r 0/1 Pending 0 3s\n", "\n", "\n", "NOTES:\n", @@ -909,19 +910,11 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": { "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "release \"seldon-core\" deleted\r\n" - ] - } - ], + "outputs": [], "source": [ "!helm delete seldon-core --purge" ]