55,000원
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결대세는 쿠버네티스 [초급~중급]
질문 드립니다.
안녕하세요 이번에 강의 신청해서 수강 중입니다. 강의 듣던 중 몇가지 질문이 있어 글 남깁니다. Aws 에서 서버 생성 후 테스트를 진행 하고 싶은데 혹시 방안 있을까요? aws에서 ec2 사용 할 시 최소 사양은 몇으로 하면 될까요?
- 해결됨대세는 쿠버네티스 [초급~중급]
Dashboard에서 pod 생성시 에러가 발생합니다. 스샷 첨부 드립니다.
실습 진행이 안되는데 더 확인해봐야 할 게 있을까요?
- 미해결대세는 쿠버네티스 [초급~중급]
Dashboard 활용 빈도와 yaml 파일 전송에 대한 질문입니다
실무에서 Dashboard를 많이 활용할까요? 강의에서 강의니깐 보여주기 위해 Dashboard를 활용한다고 설명을 들은 것 같습니다. 실무에서도 Dashboard를 많이 활용하는지, 아니면 터미널 등을 통해 yaml파일로 요청을 보내는 형식으로 쿠버네티스를 활용하는지 궁금합니다. 2. yaml 파일 전송 대시보드 말고 yaml파일을 저장해서 `kubectl apply -f` 명령어를 통해 yaml 파일을 전송해보고 싶은데, Master인 서버에 해당 yaml 파일을 요청하면 되는지 궁금합니다. 또한 외부 서버에서 Master 서버에 yaml 파일을 전송하여 설정 가능한지도 궁금합니다
- 미해결대세는 쿠버네티스 [초급~중급]
쿠버네티스 Pod 접속 관련 문의 드립니다.
안녕하세요 K8S 통신 관련 문의 드립니다. 현재 kubectl get nodes 명령어를 입력 시 다음과 같이 모든 Node에서 Ready 상태가 정상적으로 뜨지만 해당 내용의 YAML파일을 바탕으로 kubectl apply -f nginx-pod.yaml 명령어를 사용하여 해당 Pod 가 정상적으로 생성,동작됨이 확인됩니다. kubectl describe pods my-nignx-pod 명령어를 사용하여 해당 pod의 IP주소를 확인하였고 curl 20.102.133.4 명령어를 통해 해당 pod로 접속시도를 해보았으나 다음과 같이 응답을 하지 않습니다. 혹시나 싶어 해당 Pod가 있는 VM의 IP 주소인 10.0.0.6 으로 Ping 테스트를 해보았을때는 Ping은 이상없이 잘 동작합니다. 해당 Pod에 대한 접속 방법에대해 말씀해주시면 감사하겠습니다. 감사합니다.
- 미해결대세는 쿠버네티스 [초급~중급]
nfs 와 Longhorn
nfs-server의 ip가 server를 설치한 cluster의 ip가 맞나요? ifconfig 하면 나오는거중에 eth0 <-- nfs pod를 만든게 pod가 storageclass 역할을 해주는건가요? 아니면 노드가 달라도 둘이 붙는다 라는걸 보여주려고 하신건가요? nfs도 storageclass 만들어서 다이나믹 프로비저닝 해주는거같은데 실습에 그 방법은 없는 것 같은데 혹시 이 상태에서 쿠버네티스 공홈에서 nfs storageclass 만드는 법 보고 apply만 해주면 사용이 가능한가요 ? 실무에서 Longhorn을 더 많이 쓰나요?
- 미해결대세는 쿠버네티스 [초급~중급]
파드 포트 궁금한점 입니다.
파드안에서의 컨테이너는 port가 겹칠경우 에러가 난다 라는 것은 알겠습니다 파드 ip : port 로 구분하니까 파드1:80, 파드2:80 같이 파드 끼리의 컨테이너 port는 겹쳐도 문제 없는건가요? localhost:80 하면 누가 나오나요 파드1의 localhost:80과 파드2의 localhost:80은 다른건가요
- 미해결대세는 쿠버네티스 [초급~중급]
Dashboard에 접근이 안됩니다.
모든 설정이 정상적으로 완료 된 상태에서 마지막 데시보드 접근 시 이렇게 나오고 있습니다. master node의 현황입니다.
- 미해결대세는 쿠버네티스 [초급~중급]
쿠버네티스 설치 오류 [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
안녕하세요 쿠버네티스 설치 후 join.sh에 아무내용이 안나와서 설치과정 확인해보니 아래와같은 에러가 나오는데 어떻게 해결하면될까요.. ? k8s-master: Running provisioner: shell... k8s-master: Running: inline script k8s-master: I0628 11:30:40.411653 14444 version.go:255] remote version is much newer: v1.24.2; falling back to: stable-1.22 k8s-master: [init] Using Kubernetes version: v1.22.11 k8s-master: [preflight] Running pre-flight checks k8s-master: [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: docker is required for container runtime: exec: "docker": executable file not found in $PATH k8s-master: error execution phase preflight: [preflight] Some fatal errors occurred: k8s-master: [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist k8s-master: [ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1 k8s-master: [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` k8s-master: To see the stack trace of this error execute with --v=5 or higher k8s-master: failed to load admin kubeconfig: open /root/.kube/config: no such file or directory k8s-master: To see the stack trace of this error execute with --v=5 or higher k8s-master: cp: cannot stat ‘/etc/kubernetes/admin.conf’: No such file or directory k8s-master: chown: cannot access ‘/root/.kube/config’: No such file or directory k8s-master: Loaded plugins: fastestmirror k8s-master: Loading mirror speeds from cached hostfile
- 미해결대세는 쿠버네티스 [초급~중급]
쿠버네티스 대시보드 로그인 안되요
아래 처럼 로그인이 안됩니다. 도와주세요 ㅠㅠ 접근 url : http://192.168.56.30:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login
- 미해결대세는 쿠버네티스 [초급~중급]
Longhorn 설치 오류 (중급편 volume 실습 강의)
1.22v 부터 storage solution을 Longhorn으로 대체한다고 하셔서 설치 명령어를 입력했는데 오류가 나오네요. 로그는 아래와 같습니다. ''' [root@k8s-master ~]# kubectl apply -f https://kubetm.github.io/yamls/longhorn/longhorn.yaml Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/longhorn-psp configured customresourcedefinition.apiextensions.k8s.io/backingimagedatasources.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/backingimagemanagers.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/backingimages.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/backups.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/backuptargets.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/backupvolumes.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/engineimages.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/engines.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/instancemanagers.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/nodes.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/recurringjobs.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/replicas.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/settings.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/sharemanagers.longhorn.io configured customresourcedefinition.apiextensions.k8s.io/volumes.longhorn.io configured clusterrole.rbac.authorization.k8s.io/longhorn-role unchanged clusterrolebinding.rbac.authorization.k8s.io/longhorn-bind unchanged Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found Error from server (NotFound): error when creating "https://kubetm.github.io/yamls/longhorn/longhorn.yaml": namespaces "longhorn-system" not found ''' "kubectl create namespace longhorn-system" 명령어로 일단 namespace를 만들어서 설치를 하여 진행을 해보고 있습니다. 정확한 솔루션인지는 모르겠네요. 확인 부탁드립니다. * kubectl create ns honghorn-system 으로 네임스페이스를 만들어서 설치를 하면 다음과 같은 문제가 발생하네요. 3개의 pod이 init상태에서 더 진행되지 않습니다.
- 미해결대세는 쿠버네티스 [초급~중급]
ServiceAccount에 사용자를 어떻게 매핑을 하는지 알수있을가요?
안녕하세요. ServiceAccount와 role간에는 RoleBinding을 통해서 하는거는 설명을 잘 해주셔서 이해가 잘 됩니다. 그런데, ServiceAccount에 사용자들을 어떻게 할당하는지 모르겠습니다. (ServiceAccount에 있는 token을 사용자 pc에서 kubectl접속이 가능하게 세팅을 할때, 입력하는 토큰을 통해서는 하는걸가요?)
- 미해결대세는 쿠버네티스 [초급~중급]
dashboard torken 값
dashboard 토큰값이 탭했을때 나오질않네요?
- 미해결대세는 쿠버네티스 [초급~중급]
master , ingress, worker 노드의 개수?
master , ingress, worker 노드의 개수에 대한 기준이나 가이드라인이 있을까요? 궁금합니다~
- 미해결대세는 쿠버네티스 [초급~중급]
xshell acess 안됨
안녕하세요. Xshell로 ssh 접근을 계속해서 실패해서 문의 드립니다. 먼저 강의에서 2번째 쉬운 버전으로 설치 시도했고 호스트 환경은 윈도우입니다. VirtualMachine에서 네트워크는 핫스팟을 사용했고, 따라서 다른 질문들에 대한 가이드를 따라 NatNetwork로 사용. 포트 포워딩 설정해주었습니다. 192.168.56.1:22 --> 192.168.56.30 192.168.56.1:22 --> 192.168.56.31 192.168.56.1:22 --> 192.168.56.32 로 각각 설정해 주었습니다. xshell에서 터널링을 사용하여, 포워딩 설정 역시 위와 같이 해주었습니다. 현재 vm 3대 생성된 상태입니다. 문제 상황: 처음 마스터 노드에 접근했을때는 접근이 되었지만, 이후 워커노드 쉘에 접근하려고 워커노드1과 마스터 노드의 쉘을 같이 켜진상태가 되니까, 마스터 노드의 쉘은 접근이 더이상 되지 않습니다. 이상하게 세션이 한개만 연결이 되고 동시에 3개의 세션을 접근하는건 안됩니다. 또한 2개의 세션을 한번 키고 나면 그 이후로 그 전에 켯던 세션은 더이상 접근이 되지 않고 아래와 같은 에러를 뱃어냅니다. Connecting to 192.168.56.31:22... Could not connect to '192.168.56.31' (port 22): Connection failed. 많이 구글링 해봤는데.. 문제가 해결이 안되서 실마리를 모르겠어서 질문드립니다...
- 미해결대세는 쿠버네티스 [초급~중급]
파드 외부통신 질문입니다.
만약 같은 일을 하는 pod가 6개 올라가있고 서비스를 통하여 통신한다치면 (pod1, 2, 3, 4, 5, 6) pod1번만 딱 찝에서 외부에서 통신할 수 있는 방법이 있나요? 공식문서를 보니 저걸 사용하는 경우에는 pod 1번의 xx.xx.xx.xx:8080/api~~ (xx.xx.xx.xx 클러스터 ip)에 클러스터 외부에서 접근이 가능하다는 말인가요?
- 미해결대세는 쿠버네티스 [초급~중급]
뭔가 잘하고 있나 의문이 들어 문의드립니다.
안녕하세요 쿠버네티스 공부한지 거진 2달이 되어가는데이런식으로 계속 공부 하고 있습니다helm으로 받아 설치하고 에러 고치고 로드밸런서로 서비스도 열고 pvc pv도 만들고 하면서 하고 있긴 한데받았을때 어떤걸 고쳐야 하는지 내 환경에 맞추려면 어떻게 해야하는지 같은서로 연동시키는 방법이라던지 이런게 진짜 잘하고 있는지 말해 줄 수 있는 사람이 없어서..뭐랄까 이게 진짜 잘 하고 있는건가? 이런 생각이 듭니다막막하기만 해서 쿠버네티스를 다룬다 라는게 정확히 뭔지 모르겠습니다..
- 미해결대세는 쿠버네티스 [초급~중급]
좀전에 질문드린 vagrant up은 해결
download관련한 문제는 해결이 되었습니다. 하지만 모두 install후에 jon.sh파일에 아무것도 생성되지 않고 있네요 수동으로 설정을 해보았는데 [root@k8s-master ~]# kubeadm token create --print-join-command > ~/join.sh failed to load admin kubeconfig: open /root/.kube/config: no such file or directory To see the stack trace of this error execute with --v=5 or higher 이런 메세지만 보이네요 좋은 방법이 없을까요?
- 미해결대세는 쿠버네티스 [초급~중급]
vagrant up 오류
설치중에 아래의 메세지에서 계속해서 멈춰있는 상황입니다. 어떤 문제가 있을지 궁금합니다. 해당 url의 download는 정상적으로 보여집니다. 확인 부탁드립니다 -C:\Users\myoun\k8s>vagrant up Bringing machine 'k8s-master' up with 'virtualbox' provider... Bringing machine 'k8s-node1' up with 'virtualbox' provider... Bringing machine 'k8s-node2' up with 'virtualbox' provider... ==> k8s-master: Box 'centos/7' could not be found. Attempting to find and install... k8s-master: Box Provider: virtualbox k8s-master: Box Version: >= 0 ==> k8s-master: Loading metadata for box 'centos/7' k8s-master: URL: https://vagrantcloud.com/centos/7 ==> k8s-master: Adding box 'centos/7' (v2004.01) for provider: virtualbox k8s-master: Downloading: https://vagrantcloud.com/centos/boxes/7/versions/2004.01/providers/virtualbox.box ==> k8s-master: Box download is resuming from prior download progress
- 미해결대세는 쿠버네티스 [초급~중급]
1.22 버전 쿠버네티스 설치시
안녕하세요 강의를 다시 들으면서 1.22 버전 쉽게 설치하는 것으로 진행했습니다. 문제가 있는데요 Agro 관련해서 helm 차트 이용하여 설치하려고 합니다. 다만 문제는 현재 외부와 통신이 안되네요 network-script 수정도 해보고 hosts 파일도 수정을 했는데요 외부와 통신이 안됩니다.. ping 8.8.8.8 안되는 것도 당연하구요 network-sciprt에 DNS 를 8.8.8.8 로도 추가해보고 했는데 통신이 안됩니다.. 혹시 제가 실수한게 있을까요? 감사합니다.
- 미해결대세는 쿠버네티스 [초급~중급]
docker limit 으로 이미지를 못 받아올 때는 어떻게 하는 게 좋나요?
이미지를 받아올 때 docker limit 제한이 걸릴 때가 있습니다. 이를 해결하기 위한 방법이 있을까요?