Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# This script generates a new user certificate and kubeconfig file
# for a user in the cluster. The user certificate is signed by the
# kube-apiserver-client certificate authority.
# The script requires the user name as an argument.
# The script will generate the following files:
# - <user-name>-kube-config: kubeconfig file for the user
#
# After running the script, the user can use the kubeconfig file
@d4nicoder
d4nicoder / install-docker-and-kubeadm-debian-buster.sh
Last active October 2, 2020 21:31
Install docker and kubeadm on Debian 10 buster.
#!/bin/bash
apt-get update
apt-get install -y apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
sudo