5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
There’s room for improvement, but for now we use the docker image like this:docker run --rm -it -v "$(pwd)":/tmp docker.registry.local/karbon:latest john.doe@office365.com mycluster /tmp/mycluster.cfg
Hello, Here’s the current Dockerfile:FROM centos:7 COPY karbonctl /usr/local/bin COPY kubeconfig /usr/local/bin ENTRYPOINT ["/usr/local/bin/kubeconfig"] The “kubeconfig” shell script looks like this:#!/bin/sh if [ $# -lt 2 ] then echo "Usage: kubeconfig <Office 365 login> <Karbon cluster name>" exit 1 fi karbonctl login --pc-ip prism-central.host.local --pc-username "$1" if [ ! -z "$3" ] then karbonctl cluster kubeconfig --cluster-name "$2" >"$3" else karbonctl cluster kubeconfig --cluster-name "$2" fi
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.