- Create a DCOS CE cluster
dcos package install kubernetes
takes 1-2 min until UI is available- Install
kubectl
as per the docs - Set up K8S:
export KUBERNETES_MASTER=$FQHN_OF_DASHBOARD/service/kubernetes/api
$ dcos package list
$ dcos marathon app add marathon-gen.json
$ kubectl create -f k8s-webserver-pod.json
$ kubectl get pods
$ kubectl create -f k8s-webserver-service.json
$ kubectl get services
$ curl $FQHN_OF_DASHBOARD/service/kubernetes/api/v1/proxy/namespaces/default/services/nginx-service/
$ kubectl delete service nginx-service
$ kubectl delete pod nginx