Centos 7 base images with DC/OS CLI, Kubectl and Helm installed
10K+
Run the image in the following way to get a command line with DC/OS, Kubectl and Helm preinstalled. This should be used to have the student go through the entire lab manually.
docker run -e APPNAME=training -e CLUSTER=<Assigned Cluster> -e PUBLICIP=<Public EC2 IP> \
-it cmays/dcos-cli-with-kubectl-helm:latest
Run the image with the following command to run all the cluster installation steps automatically.
docker run -e APPNAME=training -e CLUSTER=<Assigned Cluster> -e PUBLICIP=<Public EC2 IP> \
-e FULL_SETUP=true -e DCOS_URL=<DC/OS URL> -e DCOS_USER=<username> -e DCOS_PASSWORD=<password> \
-it cmays/dcos-cli-with-kubectl-helm:latest
Creates a proxy on the users machine. A token for authentication gets outputted to the stdout before the proxy comes up.
docker run -e APPNAME=training -e CLUSTER=<Assigned Cluster> -e PUBLICIP=<Public EC2 IP> \
-e DCOS_URL=<DC/OS URL> -e DCOS_USER=<username> -e DCOS_PASSWORD=<password> \
-it cmays/dcos-cli-with-kubectl-helm:latest proxy
Connect to the proxy with the following command and use the token to login:
http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
The following methods of running the container are for the Sales Engineers.
Run the image with the following command to install MKE and setup EdgeLB for the number of clusters specified
docker run -e APPNAME=training -e NUM_CLUSTERS=<Num Clusters> -e DCOS_URL=<DC/OS URL> \
-e DCOS_USER=<username> -e DCOS_PASSWORD=<password> -it \
cmays/dcos-cli-with-kubectl-helm:latest se-setup
Run the image with the following command to get a bash session with the DC/OS Enterprise and Kubernetes CLIs preinstalled
docker run -e APPNAME=training -e NUM_CLUSTERS=<Num Clusters> -e DCOS_URL=<DC/OS URL> \
-e DCOS_USER=<username> -e DCOS_PASSWORD=<password> -it \
cmays/dcos-cli-with-kubectl-helm:latest se-bash
The below URL should be an HTTPS address:
dcos cluster setup <URL to DC/OS Cluster>
Install the enterprise DC/OS CLI with the following:
dcos package install --yes --cli dcos-enterprise-cli
Install the kubernetes CLI with the following:
dcos package install kubernetes --cli --yes
Install the Edge LB CLI with the following (This can only be run if edgelb has already been installed in the clusters catalog):
dcos package install edgelb --cli --yes
Content type
Image
Digest
Size
131.8 MB
Last updated
over 7 years ago
docker pull cmays/dcos-cli-with-kubectl-helm