Last active
October 5, 2018 10:23
-
-
Save brotandgames/04fee21a60df2c2f7dade43d7cbdc9a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup working directory | |
export WORKDIR=~/rke-test | |
mkdir ${WORKDIR} | |
cd ${WORKDIR} | |
# Configure Kubernetes Cluster - follow the instructions | |
# This will create an config.yaml file which you can adjust later on | |
rke config | |
# Deploy Kubernetes Cluster | |
# This will create your Cluster and output a kube_config_cluster.yaml | |
rke up | |
export KUBECONFIG=${WORKDIR}/kube_config_cluster.yml | |
# Test | |
kubectl --kubeconfig ${KUBECONFIG} get pods,svc,ing --all-namespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment