중고 신입이 개발해보기..

docker & k3s 설치 본문

카테고리 없음

docker & k3s 설치

rootkaien 2024. 7. 8. 15:09

 

docket 

curl -fsSL https://get.docker.com | sh

 

k3s 

curl -sfL https://get.k3s.io | sh -s - --docker -disable=traefik --write-kubeconfig-mode=644

 

 

E0708 15:09:47.485583  136744 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0708 15:09:47.485940  136744 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0708 15:09:47.487653  136744 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0708 15:09:47.488422  136744 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0708 15:09:47.490219  136744 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?

 

 

설치가 수정됨 

https://littlemobs.com/blog/kubernetes-package-repository-deprecation/

 

Kubernetes 1.23 버전의 최후 - Ubuntu kubernetes apt install 에러 - LittleMobs

2024년 3월 초, docker가 익숙해서 끝까지 버티고 있던 kubernetes v1.23.x 개발 환경 설치에 돌연 문제가 생겼다. Ubuntu에서 kubeadm, kubelet, kubectl 등을 apt로 설치할 수 없게 된 것이다. 원인과 해결 방법에

littlemobs.com

 

요기 참고 

https://www.inflearn.com/questions/1219874/the-repository-x27-https-apt-kubernetes-io-kubernetes-xenial-release-x27-d

 

The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file. - 인프런

쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다.쿠버네티스 설치 명령어 순서apt-get install -y apt-transport-https ca-certificates curlcurl -s https://packages.cloud.google.com/apt/...

www.inflearn.com

https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#installing-kubeadm-kubelet-and-kubectl

 

1. sudo apt-get install -y apt-transport-https ca-certificates curl gpg

2. sudo mkdir -p -m 755 /etc/apt/keyrings

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

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

5. apt-get update

6. apt-get install -y kubelet kubeadm kubectl


다시~~ 

 

https://jbground.tistory.com/107

 

[Kubernetes] Ubuntu 리눅스 쿠버네티스 클러스터 구축 방법

쿠버네티스란? 쿠버네티스 클러스터는 컨테이너화된 애플리케이션을 실행하는 컴퓨팅 노드 또는 작업자 머신 그룹이다. 컨테이너화 된 애플리케이션의 대규모 배포, 스케일링 및 관리를 간편

jbground.tistory.com

 

 

https://medium.com/@rabbi.cse.sust.bd/kubernetes-cluster-setup-on-ubuntu-24-04-lts-server-c17be85e49d1

 

Kubernetes Cluster Setup on Ubuntu 24.04 LTS Server

Overview

medium.com

 

https://www.liberiangeek.net/2024/04/install-kubectl-on-ubuntu-24-04/

 

How to Install Kubectl on Ubuntu 24.04? | Liberian Geek

How to Install Kubectl on Ubuntu 24.04? by Michael Stolzer | Apr 29, 2024 | Linux Kubectl is a powerful command-line tool that helps the developers and administrators to deploy, monitor, manage or scale the application in a containerized environment. Havin

www.liberiangeek.net

 

Comments