Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubernetes cert kubeconfig

KUBECONFIG=<filename> kubectl config set-cluster default-cluster --server=https://<host ip>:6443 --certificate-authority <path-to-kubernetes-ca> --embed-certs
KUBECONFIG=<filename> kubectl config set-credentials <credential-name> --client-key <path-to-key>.pem --client-certificate <path-to-cert>.pem --embed-certs
KUBECONFIG=<filename> kubectl config set-context default-system --cluster default-cluster --user <credential-name>
KUBECONFIG=<filename> kubectl config use-context default-system
Comment

PREVIOUS NEXT
Code Example
Shell :: vscode fedora 
Shell :: api uber eat node js 
Shell :: clone the dev masters of the package git 
Shell :: import kleur 
Shell :: ubuntu switch between windows shortcut 
Shell :: import local varibles inside .sh file 
Shell :: cloudbase-init windows 10 cloudbase-init-unattend.conf 
Shell :: how to deploy project on github 
Shell :: nouveau bureau virtuel windows 10 
Shell :: Linux Tor enabled 
Shell :: install bc command mac 
Shell :: grep for substring 
Shell :: git config fodler level 
Shell :: make[1]: [scripts/Makefile.lib:196: scripts/kconfig/zconf.tab.c] Error 127 make: *** [Makefile:534: bb.org_defconfig] Error 2 root@192.168.4.89:/usr/src/linux-4.19.94-ti-rt-r61# 
Shell :: upload package to gitlab package registry 
Shell :: shell relatives path 
Shell :: E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.152 80] 
Shell :: command in git to close txt file 
Shell :: :flutter AndroidSdk/platform-tools/adb shell am start -n com.react2010/com.react2010.MainActivity 
Shell :: completely remove xmonad 
Shell :: executable library dependency check 
Shell :: come resettare le impostazioni di connessione linux 
Shell :: git log get out hotkey 
Shell :: react-github-contribution-calendar 
Shell :: drush confi set with laguage 
Shell :: display folder of path linux bashrc 
Shell :: macos netcat write message 
Shell :: install amazon-linux-extras 
Shell :: linux tar use pigz by default 
Shell :: command to start terminal linux 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =