Skip to content

Create Srihari99-dev Srihari99-dev #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Srihari99-dev
Copy link

No description provided.

@AravindhP1
Copy link

Here’s your updated script with the new Kubernetes repo and keyring setup. 🚀

Update package list and install Docker

sudo apt-get update
sudo apt-get install -y docker.io

Add 'ubuntu' user to the Docker group and apply the change

sudo usermod -aG docker ubuntu
newgrp docker

Set Docker socket permissions (optional, use with caution)

sudo chmod 777 /var/run/docker.sock

Add Kubernetes signing key and repo (new URL for v1.30)

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg

echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /" | sudo tee /etc/apt/sources.list.d/kubernetes.list

Update package list and install Kubernetes components

sudo apt-get update
sudo apt-get install -y kubelet kubeadm kubectl

Install kube-apiserver via Snap

sudo snap install kube-apiserver

Verify installations

docker --version
kubectl version --client
kubeadm version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants