Kubernetes 1.10 minikube Install latest kubectl: curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl chmod +x ./kubectl sudo mv ./kubectl /usr/local/bin/kubectl Install latest minikube: curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.27.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ Start Minikube: minikube start —vm-driver=virtualbox admins-MBP-109:~ sindhura.palakodety$ kubectl version Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:22:21Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} admins-MBP-109:~ sindhura.palakodety$ minikube start --vm-driver=virtualbox Starting local Kubernetes v1.10.0 cluster... Starting VM... Downloading Minikube ISO 150.53 MB / 150.53 MB [============================================] 100.00% 0s Getting VM IP address... Moving files into cluster... Downloading kubeadm v1.10.0 Downloading kubelet v1.10.0 Finished Downloading kubelet v1.10.0 Finished Downloading kubeadm v1.10.0 Setting up certs... Connecting to cluster... Setting up kubeconfig... apiVersion: extensions/v1beta1 Starting cluster components... Kubectl is now configured to use the cluster. Loading cached images from config file. admins-MBP-109:~ sindhura.palakodety$ eval $(minikube docker-env) admins-MBP-109:~ sindhura.palakodety$ kubectl get pods --namespace=kube-system NAME READY STATUS RESTARTS AGE kube-addon-manager-minikube 1/1 Running 0 46s kube-dns-86f4d74b45-hcpfk 3/3 Running 0 39s kube-proxy-cvdzd 1/1 Running 0 39s kubernetes-dashboard-5498ccf677-bhgfd 1/1 Running 0 37s storage-provisioner 1/1 Running 0 37s admins-MBP-109:~ sindhura.palakodety$ minikube dashboard Opening kubernetes dashboard in default browser... admins-MBP-109:~ sindhura.palakodety$ docker pull couchbase/couchbase-operator-internal:0.8.0-175 0.8.0-175: Pulling from couchbase/couchbase-operator-internal 2595db787577: Pull complete a2b65a72baa9: Pull complete Digest: sha256:0c87a8746336363fb6b8b3d48bbb817fd08e27c3c638d7b88d0ed0e3f57f4438 Status: Downloaded newer image for couchbase/couchbase-operator-internal:0.8.0-175 admins-MBP-109:~ sindhura.palakodety$ kubectl create -f https://packages.couchbase.com/kubernetes/0.8.1-beta2/k8s-rbac/cluster-role.yaml clusterrole.rbac.authorization.k8s.io "couchbase-operator" created admins-MBP-109:~ sindhura.palakodety$ kubectl create serviceaccount couchbase-operator --namespace default serviceaccount "couchbase-operator" created admins-MBP-109:~ sindhura.palakodety$ kubectl create clusterrolebinding couchbase-operator --clusterrole couchbase-operator --serviceaccount default:couchbase-operator clusterrolebinding.rbac.authorization.k8s.io "couchbase-operator" created admins-MBP-109:~ sindhura.palakodety$ vi operator.yaml admins-MBP-109:~ sindhura.palakodety$ kubectl create -f operator.yaml deployment.extensions "couchbase-operator" created admins-MBP-109:~ sindhura.palakodety$ kubectl get deployments -l app=couchbase-operator NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE couchbase-operator 1 1 1 1 10s admins-MBP-109:~ sindhura.palakodety$ kubectl get pods -l app=couchbase-operator NAME READY STATUS RESTARTS AGE couchbase-operator-8664bcc97b-jhx6t 1/1 Running 0 16s admins-MBP-109:~ sindhura.palakodety$ kubectl logs couchbase-operator-8664bcc97b-jhx6t time="2018-05-19T23:45:31Z" level=info msg="Obtaining resource lock" module=main time="2018-05-19T23:45:31Z" level=info msg="Starting event recorder" module=main time="2018-05-19T23:45:31Z" level=info msg="Attempting to be elected the couchbase-operator leader" module=main time="2018-05-19T23:45:31Z" level=info msg="I'm the leader, attempt to start the operator" module=main time="2018-05-19T23:45:31Z" level=info msg="Event(v1.ObjectReference{Kind:\"Endpoints\", Namespace:\"default\", Name:\"couchbase-operator\", UID:\"b77cdf81-5bbe-11e8-bb76-080027a30806\", APIVersion:\"v1\", ResourceVersion:\"596\", FieldPath:\"\"}): type: 'Normal' reason: 'LeaderElection' couchbase-operator-8664bcc97b-jhx6t became leader" module=event_recorder time="2018-05-19T23:45:31Z" level=info msg="Creating the couchbase-operator controller" module=main time="2018-05-19T23:45:31Z" level=info msg="CRD initialized, listening for events..." module=controller time="2018-05-19T23:45:31Z" level=info msg="starting couchbaseclusters controller" admins-MBP-109:~ sindhura.palakodety$ admins-MBP-109:~ sindhura.palakodety$ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.96.0.1 443/TCP 3m admins-MBP-109:~ sindhura.palakodety$ admins-MBP-109:~ sindhura.palakodety$ admins-MBP-109:~ sindhura.palakodety$ kubectl create -f https://packages.couchbase.com/kubernetes/0.8.1-beta2/secret.yaml secret "cb-example-auth" created admins-MBP-109:~ sindhura.palakodety$ ./cbopctl create -f https://packages.couchbase.com/kubernetes/0.8.1-beta2/couchbase-cluster.yaml couchbaseclusters "cb-example" created 0 1m admins-MBP-109:~ sindhura.palakodety$ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cb-example ClusterIP None 8091/TCP,18091/TCP 20s cb-example-ui NodePort 10.99.152.62 8091:31028/TCP,18091:30351/TCP 20s kubernetes ClusterIP 10.96.0.1 443/TCP 4m admins-MBP-109:~ sindhura.palakodety$ kubectl get pods NAME READY STATUS RESTARTS AGE cb-example-0000 1/1 Running 0 1m cb-example-0001 1/1 Running 0 34s cb-example-0002 1/1 Running 0 13s couchbase-operator-8664bcc97b-jhx6t 1/1 Running 0 2m admins-MBP-109:~ sindhura.palakodety$ kubectl logs couchbase-operator-8664bcc97b-jhx6t time="2018-05-19T23:45:31Z" level=info msg="Obtaining resource lock" module=main time="2018-05-19T23:45:31Z" level=info msg="Starting event recorder" module=main time="2018-05-19T23:45:31Z" level=info msg="Attempting to be elected the couchbase-operator leader" module=main time="2018-05-19T23:45:31Z" level=info msg="I'm the leader, attempt to start the operator" module=main time="2018-05-19T23:45:31Z" level=info msg="Event(v1.ObjectReference{Kind:\"Endpoints\", Namespace:\"default\", Name:\"couchbase-operator\", UID:\"b77cdf81-5bbe-11e8-bb76-080027a30806\", APIVersion:\"v1\", ResourceVersion:\"596\", FieldPath:\"\"}): type: 'Normal' reason: 'LeaderElection' couchbase-operator-8664bcc97b-jhx6t became leader" module=event_recorder time="2018-05-19T23:45:31Z" level=info msg="Creating the couchbase-operator controller" module=main time="2018-05-19T23:45:31Z" level=info msg="CRD initialized, listening for events..." module=controller time="2018-05-19T23:45:31Z" level=info msg="starting couchbaseclusters controller" time="2018-05-19T23:46:48Z" level=info msg="Watching new cluster" cluster-name=cb-example module=cluster time="2018-05-19T23:47:34Z" level=info msg="start running..." cluster-name=cb-example module=cluster time="2018-05-19T23:47:42Z" level=info msg="Start reconciling" cluster-name=cb-example module=cluster time="2018-05-19T23:47:42Z" level=info msg="server config all_services: cb-example-0000" cluster-name=cb-example module=cluster time="2018-05-19T23:47:42Z" level=info msg="running members: cb-example-0000" cluster-name=cb-example module=cluster time="2018-05-19T23:47:42Z" level=info msg="cluster membership: cb-example-0000" cluster-name=cb-example module=cluster time="2018-05-19T23:47:42Z" level=info msg="active nodes: cb-example-0000" cluster-name=cb-example module=cluster time="2018-05-19T23:47:56Z" level=info msg="added member (cb-example-0001)" cluster-name=cb-example module=cluster time="2018-05-19T23:48:19Z" level=info msg="added member (cb-example-0002)" cluster-name=cb-example module=cluster time="2018-05-19T23:48:34Z" level=info msg="Rebalance progress: 0.000000" cluster-name=cb-example module=retryutil time="2018-05-19T23:48:38Z" level=info msg="Rebalance progress: 33.333333" cluster-name=cb-example module=retryutil time="2018-05-19T23:48:46Z" level=warning msg="create bucket: failed with error bucket default is not ready: warmup ...retrying" cluster-name=cb-example module=retryutil time="2018-05-19T23:48:52Z" level=warning msg="create bucket: failed with error bucket default is not ready: warmup ...retrying" cluster-name=cb-example module=retryutil time="2018-05-19T23:48:58Z" level=warning msg="create bucket: failed with error bucket default is not ready: warmup ...retrying" cluster-name=cb-example module=retryutil time="2018-05-19T23:49:01Z" level=warning msg="create bucket: failed with error bucket default is not ready: warmup ...retrying" cluster-name=cb-example module=retryutil time="2018-05-19T23:49:06Z" level=info msg="Created bucket default" cluster-name=cb-example module=cluster time="2018-05-19T23:49:06Z" level=info msg="Finish reconciling" cluster-name=cb-example module=cluster time="2018-05-19T23:49:14Z" level=info msg="Start reconciling" cluster-name=cb-example module=cluster time="2018-05-19T23:49:14Z" level=info msg="Finish reconciling" cluster-name=cb-example module=cluster time="2018-05-19T23:49:22Z" level=info msg="Start reconciling" cluster-name=cb-example module=cluster time="2018-05-19T23:49:22Z" level=info msg="Finish reconciling" cluster-name=cb-example module=cluster