Configuring Splunk Enterprise Deployments | splunk-operator
1: 先看有几个namspace:
Kubectl get ns
2: 再看当前是哪个ns:
2: Similar to other examples, the default administrator password can be obtained from the global kubernetes secrets object as described here:
kubectl get secret splunk-`<namespace`>-secret -o jsonpath='{.data.password}' | base64 --decode
Example:
kubectl get secret splunk-splunk-operator-secret -o jsonpath='{.data.password}' | base64 --decode