auth
무료Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Common kubectl commands for debugging Rossoctl components
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Common kubectl commands for debugging Rossoctl components.
All kubectl/oc commands MUST redirect output to files. Commands below are shown in bare form for readability. When executing, always redirect:
export LOG_DIR=/tmp/rossoctl/k8s/${CLUSTER:-local}
mkdir -p $LOG_DIR
# Pattern: kubectl <command> > $LOG_DIR/<name>.log 2>&1 && echo "OK" || echo "FAIL"
# Analyze in subagent: Task(subagent_type='Explore') with Grep
# HyperShift cluster
export KUBECONFIG=~/clusters/hcp/rossoctl-hypershift-custom-mlflow/auth/kubeconfig
# Kind cluster
export KUBECONFIG=~/.kube/config
kubectl config use-context kind-rossoctl
kubectl cluster-info
kubectl get nodes
helm get values rossoctl-deps -n rossoctl-system
helm get values rossoctl-deps -n rossoctl-system -a
helm template rossoctl-deps charts/rossoctl-deps -n rossoctl-system \
-f /tmp/values.yaml > /tmp/rendered.yaml
helm list -n rossoctl-system
helm history rossoctl-deps -n rossoctl-system
kubectl get configmap otel-collector-config -n rossoctl-system -o yaml
kubectl get configmap otel-collector-config -n rossoctl-system \
-o jsonpath='{.data.otel-collector-config\.yaml}'
kubectl get secret mlflow-oauth-secret -n rossoctl-system \
-o jsonpath='{.data.MLFLOW_CLIENT_ID}' | base64 -d
kubectl get secret mlflow-oauth-secret -n rossoctl-system \
-o jsonpath='{.data}' | jq 'keys'
kubectl get pod otel-collector-xxx -n rossoctl-system \
-o jsonpath='{.spec.containers[0].env}' | jq
kubectl describe pod otel-collector-xxx -n rossoctl-system
kubectl logs -n rossoctl-system otel-collector-xxx
kubectl logs -n rossoctl-system otel-collector-xxx --previous # After crash
kubectl logs -n rossoctl-system otel-collector-xxx -f # Follow
kubectl exec -it otel-collector-xxx -n rossoctl-system -- /bin/sh
kubectl exec -it otel-collector-xxx -n rossoctl-system -- \
ls -la /etc/pki/ca-trust/extracted/pem/
kubectl get endpoints mlflow -n rossoctl-system
kubectl get svc mlflow -n rossoctl-system --show-labels
kubectl port-forward svc/mlflow 5000:5000 -n rossoctl-system
# Set variables
KEYCLOAK_URL="http://keycloak-service.keycloak.svc.cluster.local:8080"
CLIENT_ID="mlflow-client"
CLIENT_SECRET=$(kubectl get secret mlflow-oauth-secret -n rossoctl-system \
-o jsonpath='{.data.MLFLOW_CLIENT_SECRET}' | base64 -d)
# Get token
curl -X POST "$KEYCLOAK_URL/realms/master/protocol/openid-connect/token" \
-d "grant_type=client_credentials" \
-d "client_id=$CLIENT_ID" \
-d "client_secret=$CLIENT_SECRET"
kubectl run -it --rm debug --image=curlimages/curl --restart=Never -- \
curl -X POST "http://keycloak-service.keycloak.svc.cluster.local:8080/realms/master/protocol/openid-connect/token" \
-d "grant_type=client_credentials" \
-d "client_id=mlflow-client" \
-d "client_secret=<secret>"
kubectl get jobs -n keycloak
kubectl describe job mlflow-oauth-secret -n keycloak
kubectl logs -n keycloak -l job-name=mlflow-oauth-secret
kubectl delete job mlflow-oauth-secret -n keycloak
# Job will be recreated by Helm if still in chart
kubectl get gateway -n rossoctl-system
kubectl describe gateway mlflow-waypoint -n rossoctl-system
kubectl get authorizationpolicy -n rossoctl-system
kubectl describe authorizationpolicy mlflow-traces-from-otel -n rossoctl-system
istioctl proxy-config secret otel-collector-xxx -n rossoctl-system
kubectl logs -n istio-system -l app=ztunnel --tail=100
kubectl get events -n rossoctl-system --sort-by='.lastTimestamp'
kubectl get events -n rossoctl-system --field-selector involvedObject.name=otel-collector-xxx
kubectl top pods -n rossoctl-system
kubectl get pod otel-collector-xxx -n rossoctl-system \
-o jsonpath='{.spec.containers[0].resources}'
| Task | Command |
|---|---|
| Get all pods | kubectl get pods -n rossoctl-system |
| Get logs | kubectl logs -n rossoctl-system <pod> |
| Describe pod | kubectl describe pod -n rossoctl-system <pod> |
| Exec shell | kubectl exec -it <pod> -n rossoctl-system -- /bin/sh |
| Port forward | kubectl port-forward svc/<svc> <port>:<port> -n rossoctl-system |
| Get events | kubectl get events -n rossoctl-system --sort-by='.lastTimestamp' |
| Helm values | helm get values rossoctl-deps -n rossoctl-system |
tdd:hypershiftk8s:live-debuggingistio:ambient-waypoint아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
CI pipeline monitoring, status checks, and PR validation workflows
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Monitor running CI jobs, wait for completion, create tasks for results
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.