./openshift-install version
./openshift-install coreos print-stream-json | jq '.architectures.x86_64.artifacts'
./openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.artifacts.metal.formats.pxe.rootfs.location'
./openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.artifacts.metal.formats.iso.disk.location'
operator 버전 확인
# 1) Service Mesh Subscription이 설치된 네임스페이스/이름 찾기
oc get subscription -A | egrep -i 'servicemesh|istio'
# 2) 현재 설치된 CSV 이름 확인 (CSV 이름에 버전이 포함됨: ...v2.x.y)
oc -n <NAMESPACE> get subscription <SUB_NAME> -o jsonpath='{.status.currentCSV}{"\\n"}'
API 서버 readiness 확인
oc get --raw='/readyz?verbose' | head -100
etcd 상태 확인
oc -n openshift-etcd get pods -o wide
oc -n openshift-etcd logs -l app=etcd --since=30m | egrep -i 'took too long|timeout|unhealthy|leader|raft|slow'
kube-apiserver 로그 확인
oc -n openshift-kube-apiserver get pods
oc -n openshift-kube-apiserver logs -l apiserver=true --since=30m | egrep -i 'timeout|etcd|slow|context deadline exceeded|panic'
로그인(본인 redhat 계정있으면 쓰기)
# podman login registry.redhat.io
● Username: cywellsystem / [email protected]
● Password: cywell0415!
# podman login quay.io
● Username: cywellsystem
● Password: cywell0415!
# podman login registry.connect.redhat.com
● Username: cywellsystem / [email protected] / [email protected](본인 redhat 계정있으면 쓰기)
● Password: cywell0415!
# podman login registry.ocp.test.com:5000
● Username: admin
● Password: admin123
Operator list 확인
oc-mirror list operaotr --catalog registry.redhat.io/redhat/community-operator-index:v4.19
# oc-mirror list operators --catalog=registry.redhat.io/redhat/redhat-operator-index:v4.18
# oc-mirror list operators --catalog=registry.redhat.io/redhat/certified-operator-index:v4.18
# oc-mirror list operators --catalog=registry.redhat.io/redhat/community-operator-index:v4.18
# oc-mirror list operators --catalog=registry.redhat.io/redhat/redhat-marketplace-index:v4.18
# oc-mirror list operators --catalog=registry.redhat.io/redhat/redhat-operator-index:v4.18 --package=openshift-gitops-operator
카탈로그 소스 목록 확인
oc get catalogsources.operators.coreos.com -A
주요 프로젝트 pod 확인