You are not allowed to add pages
This is an old revision of the document!
On Centos7, RPMs are from Ceontos7 extras repository
1 master, 2 nodes
KUBE_LOGTOSTDERR="--logtostderr=true" KUBE_LOG_LEVEL="--v=0" KUBE_ALLOW_PRIV="--allow-privileged=false" KUBE_MASTER="--master=http://node-1:8080"
KUBE_API_ADDRESS="--insecure-bind-address=0.0.0.0" KUBE_ETCD_SERVERS="--etcd-servers=http://node-1:2379" KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=10.254.0.0/16" KUBE_API_ARGS="" KUBE_API_PORT="--port=8080" KUBELET_PORT="--kubelet-port=10250"
KUBE_CONTROLLER_MANAGER_ARGS=""
KUBE_SCHEDULER_ARGS=""
$ kubectl run hello-node --image=gcr.io/google-samples/node-hello:1.0 --port=8080 $ kubectl get deployment hello-node NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE hello-node 1 1 1 1 2d $ kubectl get pods NAME READY STATUS RESTARTS AGE hello-node-3526609615-5slx8 1/1 Running 0 2d $ kubectl expose deployment hello-node --type=NodePort $ kubectl get service hello-node NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-node 10.254.65.168 <nodes> 8080:32260/TCP 2d $ kubectl get pods --selector="run=hello-node" --output=wide NAME READY STATUS RESTARTS AGE IP NODE hello-node-3526609615-5slx8 1/1 Running 0 2d 172.30.65.2 node-2 $ curl http://node-2:32260 Hello Kubernetes!