-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal error occurred: error resolving resource when running on plain k8s #1193
Comments
Looks like a cert issue alright
And I can see the openshift annotation on the service.
I wonder what steps are required to get cert-manager to inject the cert in the right place |
I've gotten a little further with the help of cert-manager. Install cert-manager kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml Create a Certificate for the webhook service cat <<EOF | kubectl apply -f -
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: multicluster-observability-operator-issuer
namespace: open-cluster-management
spec:
selfSigned: {}
EOF
cat <<EOF | kubectl apply -f -
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: multicluster-observability-operator-webhook-server-cert
namespace: open-cluster-management
spec:
dnsNames:
- multicluster-observability-webhook-service.open-cluster-management.svc
secretName: multicluster-observability-operator-webhook-server-cert
issuerRef:
name: multicluster-observability-operator-issuer
EOF Add cert-manager inject annotation to CRD & ValidatingWebhookConfiguration. kubectl annotate crd multiclusterobservabilities.observability.open-cluster-management.io cert-manager.io/inject-ca-from=open-cluster-management/multicluster-observability-operator-webhook-server-cert
kubectl annotate ValidatingWebhookConfiguration multicluster-observability-operator cert-manager.io/inject-ca-from=open-cluster-management/multicluster-observability-operator-webhook-server-cert Now I can list and create MultiClusterObservability CRs. kubectl -n open-cluster-management-observability get pod
NAME READY STATUS RESTARTS AGE
minio-59b76b4cd-4r6kc 0/1 Pending 0 4m22s
observability-alertmanager-0 0/3 ContainerCreating 0 2m38s
observability-grafana-855b85957d-7fglt 0/3 ContainerCreating 0 2m40s
observability-grafana-855b85957d-ssh4g 0/3 ContainerCreating 0 2m40s
observability-observatorium-operator-79f8fc5fc8-5xzzq 0/1 ImagePullBackOff 0 2m40s The minio problem is:
Alertmanager:
Grafana 1:
Grafana 2:
The ImagePullBackOff is due to a missing image tag in quay:
|
I see the README is geared at the hub cluster being Openshift,
however I also see this wording that suggests may this can work on plain k8s as well?
I'm using local kind clusters with k8s v1.26.0
I've gotten as far as the below command but hitting an error.
I'm thinking it could be related to the webhook?
Is there a way I can get this add-on to work with plain k8s?
The text was updated successfully, but these errors were encountered: