250x250
반응형
Notice
Recent Posts
Recent Comments
전산쟁이의 기억노트
rancher 패스워드 초기화 방법 본문
728x90
반응형
SMALL
- rancher pod 정보 확인
$> kubectl get pod -A | grep rancher cattle-system rancher-c56764479-nt7nb 1/1 Running 3 (3d2h ago) 45d
- rancher pod가 어느노드에서 떴는지 확인
$> kubectl describe pod rancher-c56764479-nt7nb -n cattle-system Name: rancher-c56764479-nt7nb Namespace: cattle-system Priority: 1000000000 Priority Class Name: rancher-critical Node: test2/192.168.0.25 Start Time: Thu, 21 Sep 2023 00:51:03 +0900 Labels: app=rancher pod-template-hash=c56764479 release=rancher Annotations: cni.projectcalico.org/containerID: f44aa8d23b68a7376bc29e0bc66605670dc5a87daa9c668bd4f241aa4b63b492 cni.projectcalico.org/podIP: 10.233.64.107/32 cni.projectcalico.org/podIPs: 10.233.64.107/32 Status: Running IP: 10.233.64.107 IPs: IP: 10.233.64.107 Controlled By: ReplicaSet/rancher-c56764479
- rancher 컨테이너 정보 확인 (test2노드에서 실행)
$> crictl ps | grep rancher a68dc79ee1d8c 81ee0878ffcdc 26 minutes ago Running rancher 3 f44aa8d23b68a rancher-c56764479-nt7nb
- rancher 컨테이너로 패스워드 초기화 (test2노드에서 실행)
$> crictl exec a68dc79ee1d8c reset-password W1104 17:53:31.241158 386 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. New password for default admin user (user-q2kl4): 123123
reference
728x90
반응형
LIST
'컨테이너&가상화' 카테고리의 다른 글
워커노드 제외방법 (0) | 2023.12.23 |
---|---|
Linux에서 VMWARE Player설치 에러 해결하기 (0) | 2023.04.30 |
virtualBox에서 windows11 설치하기 (0) | 2023.04.29 |
xenserver localdisk 리포지터리 구성 (0) | 2022.10.24 |
xenserver gpt disallow (0) | 2022.10.24 |
Comments