Keycloak instance Service type as Node Port using Keycloak kubernetes operator

204 views Asked by At

I have Deployed keycloak operator on Kubernetes (on-premises) then I deployed a kind as keycloak as one instance pods up and running service was exposing as Cluster IP but I want change that as NodePort here is my manifest file.

apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
  name: example-keycloak
spec:
  unsupported:
    podTemplate:
      spec:
        containers:
          - name: keycloak
            args:
              - start-dev
here, I tried at the under the spec section type: NodePort 

and 

service:

   type: NodePort 

But, There is no luck, can you guys help me to overcome that problem

Thanks.
0

There are 0 answers