Exposing AMD GPU to Kubernates

Current Test System Kubernates, Single Node Rancher System You can refer to this link for kubernates singlenode installation https://blog.alphabravo.io/posts/2021/single-node-rke2-pt1/ Reference http://www.bytefold.com/sharing-gpu-in-kubernetes/ https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/ Install kubernates plug-in for ROCM Install the plug in using daemonset Deploy the daemonset (it is a plug in installed on all amd gpu node) its Done,, just like that! Verify the daemonset, […]

Install Cluster Kubernates using Kubeadm Ubuntu 22.04

Requirement : Initialize node reference : https://kubernetes.io/docs/setup/production-environment/container-runtimes/#containerd Make sure date time are correct and synced We use timesyncd, check the status Edit your NTP Server Restart the service Check your time and timezone, set your timezone if neccessary $timedatectl $timedatectl set-timezone Asia/Jakarta Remove Swap Sometime etcd having problem running in Ubuntu 22.04, edit the grub […]

Kubernates Operational and Verification Command

Check node, version, name kubectl get node kubectl get node -o wide kubectl version Verify node detail kubectl describe node <NODE NAME> Verify resources available kubectl api-resources Use for api/resource detail check kubectl explain <RESOURCE> Get namespaces kubectl get namespace Get all pods on all namespace kubectl get pods –all-namespaces Running a single pod kubectl […]

Kubeadm create k8s cluster

Requirement: Master: Ubuntu 20.04, 8192Mb RAM, 4core CPU Worker: Ubuntu 20.04, 4096Mb RAM, 2core CPU Install CRI (containerd) update all machine install docker dependency and add repo install containerd install kubeadm All nodes use super user set all swap off # swapoff -a Remove any matching reference found in /etc/fstab # vi /etc/fstab # ***** /swap […]

Installing microk8s Ubuntu 20.04 22.04

Install: Check the status while Kubernetes starts Auto sudo: kubectl command for microk8s: Install CoreDNS and Other Common Service in Kubernetes Additional service for dashboard and ingress Access the Kubernetes dashboard Kubernetes is a collection of system services that talk to each other all the time. If you don’t need them running in the background […]