https://minikube.sigs.k8s.io/docs/start/ https://kubernetes.io/zh-cn/docs/tasks/tools/install-kubectl-linux/ yum install bash-completion -y curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo yum install docker-ce -y [curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun 】 swapoff -a curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm sudo rpm -Uvh minikube-latest.x86_64.rpm An error occurred [root@localhost ~]# minikube start * minikube v1.31.2 on Rocky 9.2 * Unable to pick a default driver. Here is […]
Tag: minikube
Install minikube and istio on ubuntu 22.04
ubuntu 22.04 install minikube and istio 1. Use vmware to install ubuntu22.04 server ? The steps are simple, just search it on Baidu yourself 2. Install minikube Learn from the installation script: https://blog.csdn.net/LeoForBest/article/details/126524892 #!/usr/bin/bash # ~~~~~~~~~ # Ubuntu 22.04 Minikube install # Update Author: yuluo # Usage: bash install-minikube.sh (do not root, use normal user) […]
Ubuntu 22.04 minikube deployment application testing
Prepare the environment Reference: https://blog.csdn.net/qq_52397471/article/details/133979727?spm=1001.2014.3001.5501 Writing Golang applications Code package main import ( “fmt” “log” “net/http” ) func main() { http.HandleFunc(“/”, func(w http.ResponseWriter, r *http.Request) { fmt.Fprintln(w, “Hello World!”) }) log.Fatalln(http.ListenAndServe(“:80”, nil)) } Compile go mod init go mod tidy GOOS=linux GOARCH=386 go build -ldflags ‘-s -w’ -o webserver Deployment testing 1. Package Docker image […]
Minikube builds k8s
Environment: centos7, docker18 minikube builds k8s Description minikube is the local stand-alone cluster closest to native kubernetes. It supports most kubernetes functions and is used for learning and developing k8s. Support Linux, Windows, Mac Official website installation documentation Installation prerequisites A physical machine or virtual machine, the physical machine CPU is greater than 2 core […]
Kubernetes Series 2 Minikube cluster installation
1. Introduction When installing k8s, there is a simple installation method. You can install yum install -y etcd kubernetes through this command, and it also comes with docker. However, the k8s version installed in this way is too low, v1.5.2, and the docker installation version is also too low, v1.13. Since the versions are relatively […]
minikube(v1.28.0) kaniko build image
Install latest docker yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo yum list docker-ce –showduplicates | sort -r sudo yum -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin sudo systemctl start docker & amp; & amp; systemctl enable docker Configure /etc/docker/daemon.json $ cat /etc/docker/daemon.json { “exec-opts”: [“native.cgroupdriver=systemd”], “live-restore”: true, “dns”: [“8.8.8.8”], “log-driver”: “json-file”, “log-opts”: { “max-size”: […]
Create a cluster with Kubernetes-Create a cluster with Minikube
1. Use Minikube to create a cluster 1. Kubernetes cluster Kubernetes coordinates a cluster of highly available computers, each connected to work as an independent unit. Abstractions in Kubernetes allow you to deploy containerized applications to a cluster without tying them to a particular stand-alone computer. In order to use this new deployment model, applications […]
Quickly build a kubernetes single-node environment based on minikube
1. Description This article mainly introduces the rapid deployment of Kubernetes single-node cluster environment based on Minikube in the Centos7 environment, and accessing the dashboard service deployed on k8s on the browser. two, minikube introduction Minikube is a go-based tool that is easy to run Kubernetes locally. It can easily create a stand-alone Kubernetes cluster […]
Install k8s based on minikube (best practice, one step)
Install k8s based on minikube (suitable for local environment) update system sudo yum update -y Install Docker and set it to start automatically at boot sudo yum install -y docker sudo systemctl start docker sudo systemctl enable docker install kubectl kubectl is a command-line management tool for Kubernetes curl -LO “https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux /amd64/kubectl” […]
Minikube creates a kubernetes environment
Lala Podo front page tech blog Cloud Native Academy avatar What is Minikube Minikube is a lightweight open source tool that can run a Kubernetes cluster on a local machine. Its main purpose is to allow developers to quickly deploy, test and run Kubernetes applications in a local environment. Minikube provides an easy way to […]