I want to install a elastic-agent in openshift kubernetes cluster, for that I was installing a kube-state-metrics with elk namespace as I dont want to install it in kube-system namespace.
After running command, I get the output where deployment is not ready and replicaset is also not ready.
but whenever I run it with kubesystem namespaces, all is working fine.
The same case is with elastic agent too.
Please tell me that can we install elastic in other namespace than kube-system. and if yes how ?
Thank you. error:
Warning FailedCreate replicaset/kube-state-metrics-cccfccbf4 (combined from similar events): Error creating: pods "kube-state-metrics-cccfccbf4-gqmm9" is forbidden: unable to validate against any security context constraint: [pod.metadata.annotations.container.seccomp.security.alpha.kubernetes.io/kube-state-metrics: Forbidden: seccomp may not be set provider "anyuid": Forbidden: not usable by user or serviceaccount provider "nonroot": Forbidden: not usable by user or serviceaccount provider "noobaa": Forbidden: not usable by user or serviceaccount provider "noobaa-endpoint": Forbidden: not usable by user or serviceaccount provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount provider "elasticsearch-scc": Forbidden: not usable by user or serviceaccount provider "log-collector-scc": Forbidden: not usable by user or serviceaccount provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount provider "hostnetwork": Forbidden: not usable by user or serviceaccount provider "hostaccess": Forbidden: not usable by user or serviceaccount provider "rook-ceph": Forbidden: not usable by user or serviceaccount provider "node-exporter": Forbidden: not usable by user or serviceaccount provider "rook-ceph-csi": Forbidden: not usable by user or serviceaccount provider "privileged": Forbidden: not usable by user or serviceaccount]
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.