작성
·
330
1
안녕하세요 우선 좋은 강의 감사합니다!
현재 namespace 강의를 듣고 있는 중이고,
한 namespace 내 pod에서 다른 namespace의 pod ip로 curl 명령치는 테스트 실습해보고 있는데요
curl 명령어를 찾을 수 없다는 에러가 뜨는데, curl을 직접 설치하고자 apt update 부터 했는데요
아래와 같이 404 not found가 떠서요... 이런식으로 curl 설치하는게 아닌가요?
root@pod-1:/# apt update
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org/debian stretch-updates InRelease
Err:3 http://deb.debian.org/debian stretch Release
404 Not Found
Err:4 http://deb.debian.org/debian stretch-updates Release
404 Not Found
Ign:5 http://security.debian.org/debian-security stretch/updates InRelease
Err:6 http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 151.101.2.132 80]
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Namespace, ResourceQuota, LimitRange - Namespace, ResourceQuNamespace, Resource
Quota, LimitRange - 실습ota, LimitRange - 실습
답변 1
0
안녕하세요.
이미지 명에 kubetm/init가 있는 Pod에서 curl 명령을 날리시면 됩니다.
kubetm/app은 가볍게 만들어진 이미지라 리눅스 관련 명령을 사용할 수 없습니다.