Notice
Recent Posts
Recent Comments
Tags
- CentOS
- RHEL8
- MotD
- 웰카
- Auth
- Network
- admin port
- Path
- banner
- n1548
- maxscale
- port description
- drbd
- wildfly jboss
- unix_socket
- openldap
- data-door
- 우파푸른하늘
- snmp
- mgmtip
- vmware
- n15148
- dell
- Galera Cluster
- docker
- perplexity
- mariadb
- 우파푸른하늘80만이벤트
- web&was apche htaccess
- CEP
- etcd
- Kubernetes
- Storage
250x250
반응형
전산쟁이의 기억노트
rancher 패스워드 초기화 방법 본문
728x90
반응형
- 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
rancher 패스워드 초기화 방법 | igoni.kr
rancher pod 정보 확인 $> kubectl get pod -A | grep rancher cattle-system ranche...
igoni.kr
728x90
반응형
'컨테이너&가상화' 카테고리의 다른 글
ETCD구성정보 (2) | 2025.06.17 |
---|---|
워커노드 제외방법 (0) | 2023.12.23 |
Linux에서 VMWARE Player설치 에러 해결하기 (0) | 2023.04.30 |
virtualBox에서 windows11 설치하기 (0) | 2023.04.29 |
xenserver localdisk 리포지터리 구성 (0) | 2022.10.24 |
Comments