Local Kubernetes cluster on openEuler OS

Series of related articles

  1. Local Kubernetes cluster on openEuler OS (this article)
  2. Apache Spark on Kubernetes
  3. Apache Spark -SNAPSHOT on Kubernetes
  4. Native integration between Apache Spark and Volcano Kubernetes scheduler
curl -sfL https://get.k3s.io | sh -
  • export K3S_URL environment variable with a value the url to the server, which you could get with sudo k3s kubectl config view
  • read the content of /var/lib/rancher/k3s/server/node-token on the server machine and export it as K3S_TOKEN environment variable on the agent machine
  • execute curl -sfL https://get.k3s.io | sh - that will do the SystemD setup of the agent
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-arm64
sudo install minikube-linux-arm64 /usr/local/bin/minikube
  • if Golang is installed on the machine then just issue GO111MODULE="on" go get sigs.k8s.io/kind@v0.12.0
  • alternatively just download the ARM64 binary and put it in $PATH , e.g.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store