GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docker/11-kubernetes at master · ishrawal/docker

Expand file tree

/

11-kubernetes

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

11-kubernetes

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 

README.md

Outline

Connect to Kubernetes MKE Cluster from CLI

Install kubectl client CLI

wget https://raw.githubusercontent.com/lerndevops/labs/master/scripts/installKubectl.sh -P /tmp 
sudo bash /tmp/installKubectl.sh

Download Client Bundle from MKE Manager Node

sudo apt-get install -y jq 
sudo apt-get install -y unzip
#AUTHTOKEN=$(curl -sk -d '{"username":"<username>","password":"<pass>"}' https://<mke-ip>/auth/login | jq -r .auth_token)
AUTHTOKEN=$(curl -sk -d '{"username":"admin","password":"admin@1234"}' https://10.142.0.5/auth/login | jq -r .auth_token)

#curl -k -H "Authorization: Bearer $AUTHTOKEN" https://<mke-ip>/api/clientbundle -o client-bundle.zip
curl -k -H "Authorization: Bearer $AUTHTOKEN" https://10.142.0.5/api/clientbundle -o $HOME/client-bundle.zip

Configure the Client Bundle

unzip $HOME/client-bundle.zip -d $HOME/client-bundle
cd client-bundle && eval "$(<env.sh)"

For Kuberentes Topics Refer below

https://github.com/lerndevops/educka

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.