Openstack over k8s: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) |
Sirmax (обсуждение | вклад) |
||
Строка 8: | Строка 8: | ||
=Install helm= |
=Install helm= |
||
+ | brew install kubernetes-helm |
||
+ | |||
+ | <PRE> |
||
+ | helm init |
||
+ | $HELM_HOME has been configured at /Users/mmazur/.helm. |
||
+ | |||
+ | Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster. |
||
+ | |||
+ | Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy. |
||
+ | To prevent this, run `helm init` with the --tiller-tls-verify flag. |
||
+ | For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation |
||
+ | Happy Helming! |
||
+ | </PRE> |
||
+ | |||
+ | <PRE> |
||
+ | kubectl get pods -n kube-system |
||
+ | NAME READY STATUS RESTARTS AGE |
||
+ | coredns-86c58d9df4-fc47s 1/1 Running 0 2d19h |
||
+ | coredns-86c58d9df4-jpl6m 1/1 Running 0 2d19h |
||
+ | etcd-minikube 1/1 Running 0 2d19h |
||
+ | kube-addon-manager-minikube 1/1 Running 0 2d19h |
||
+ | kube-apiserver-minikube 1/1 Running 0 2d19h |
||
+ | kube-controller-manager-minikube 1/1 Running 0 2d19h |
||
+ | kube-proxy-9tg5l 1/1 Running 0 2d19h |
||
+ | kube-scheduler-minikube 1/1 Running 0 2d19h |
||
+ | storage-provisioner 1/1 Running 0 2d19h |
||
+ | tiller-deploy-69ffbf64bc-vspfs 1/1 Running 0 108s |
||
+ | </PRE> |
||
+ | <PRE> |
||
+ | helm list |
||
+ | </PRE> |
||
=Ceph= |
=Ceph= |
Версия 13:34, 2 февраля 2019
1) Install openstack(ceph as storage) on top of K8s(All-in-one-installation) using openstack-helm project 2) change Keystone token expiration time afterwards to 24 hours 3) deploy 3 VMs connected to each other using heat
install minikube
Install helm
brew install kubernetes-helm
helm init $HELM_HOME has been configured at /Users/mmazur/.helm. Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster. Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy. To prevent this, run `helm init` with the --tiller-tls-verify flag. For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation Happy Helming!
kubectl get pods -n kube-system NAME READY STATUS RESTARTS AGE coredns-86c58d9df4-fc47s 1/1 Running 0 2d19h coredns-86c58d9df4-jpl6m 1/1 Running 0 2d19h etcd-minikube 1/1 Running 0 2d19h kube-addon-manager-minikube 1/1 Running 0 2d19h kube-apiserver-minikube 1/1 Running 0 2d19h kube-controller-manager-minikube 1/1 Running 0 2d19h kube-proxy-9tg5l 1/1 Running 0 2d19h kube-scheduler-minikube 1/1 Running 0 2d19h storage-provisioner 1/1 Running 0 2d19h tiller-deploy-69ffbf64bc-vspfs 1/1 Running 0 108s
helm list