title: KIE server and workbench on Kubernetes
body: <p>I followed the official instruction and had no problem with running kie server and workbench on Docker. However, when I try with Kubernetes I bump into some problem. There is no Execution server in the list (Business Central -&gt; Deploy -&gt; Execution Servers). Both of them are up and running, I can access Business Central, http://localhost:31002/kie-server/services/rest/server/ is responding correctly :</p>
  <pre><code>&lt;response type=&quot;SUCCESS&quot; msg=&quot;Kie Server info&quot;&gt;
  &lt;kie-server-info&gt;
  &lt;capabilities&gt;KieServer&lt;/capabilities&gt;
  &lt;capabilities&gt;BRM&lt;/capabilities&gt;
  &lt;capabilities&gt;BPM&lt;/capabilities&gt;
  &lt;capabilities&gt;CaseMgmt&lt;/capabilities&gt;
  &lt;capabilities&gt;BPM-UI&lt;/capabilities&gt;
  &lt;capabilities&gt;BRP&lt;/capabilities&gt;
  &lt;capabilities&gt;DMN&lt;/capabilities&gt;
  &lt;capabilities&gt;Swagger&lt;/capabilities&gt;
  &lt;location&gt;http://localhost:8080/kie-server/services/rest/server&lt;/location&gt;
  &lt;messages&gt;
  &lt;content&gt;Server KieServerInfo{serverId='kie-server-kie-server-7fcc96f568-2gf29', version='7.45.0.Final', name='kie-server-kie-server-7fcc96f568-2gf29', location='http://localhost:8080/kie-server/services/rest/server', capabilities=[KieServer, BRM, BPM, CaseMgmt, BPM-UI, BRP, DMN, Swagger]', messages=null', mode=DEVELOPMENT}started successfully at Tue Oct 27 10:36:09 UTC 2020&lt;/content&gt;
  &lt;severity&gt;INFO&lt;/severity&gt;
  &lt;timestamp&gt;2020-10-27T10:36:09.433Z&lt;/timestamp&gt;
  &lt;/messages&gt;
  &lt;mode&gt;DEVELOPMENT&lt;/mode&gt;
  &lt;name&gt;kie-server-kie-server-7fcc96f568-2gf29&lt;/name&gt;
  &lt;id&gt;kie-server-kie-server-7fcc96f568-2gf29&lt;/id&gt;
  &lt;version&gt;7.45.0.Final&lt;/version&gt;
  &lt;/kie-server-info&gt;
  &lt;/response&gt;
  </code></pre>
  <p>Here is my yaml file that I am using to create deployments and services</p>
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: kie-wb
  spec:
    replicas: 1
    selector:
      matchLabels:
        app: kie-wb
    template:
      metadata:
        labels:
          app: kie-wb
      spec:
        containers:
          - name: kie-wb
            image: jboss/drools-workbench-showcase:latest
            ports:
              - containerPort: 8080
              - containerPort: 8001
            securityContext:
              privileged: true
  ---
  kind: Service
  apiVersion: v1
  metadata:
    name: kie-wb
  spec:
    selector:
      app: kie-wb
    ports:
      - name: &quot;8080&quot;
        port: 8080
        targetPort: 8080
      - name: &quot;8001&quot;
        port: 8001
        targetPort: 8001
  #  type: LoadBalancer
  ---
  apiVersion: v1
  kind: Service
  metadata:
    name: kie-wb-np
  spec:
    type: NodePort
    ports:
      - port: 8080
        targetPort: 8080
        nodePort: 31001
    selector:
      app: kie-wb
  ---
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: kie-server
  spec:
    replicas: 1
    selector:
      matchLabels:
        app: kie
    template:
      metadata:
        labels:
          app: kie
      spec:
        containers:
          - name: kie
            image: jboss/kie-server-showcase:latest
            ports:
              - containerPort: 8080
            securityContext:
              privileged: true
  ---
  kind: Service
  apiVersion: v1
  metadata:
    name: kie-server
  spec:
    selector:
      app: kie
    ports:
      - name: &quot;8080&quot;
        port: 8080
        targetPort: 8080
  ---
  apiVersion: v1
  kind: Service
  metadata:
    name: kie-server-np
  spec:
    type: NodePort
    ports:
      - port: 8080
        targetPort: 8080
        nodePort: 31002
    selector:
      app: kie
  #  type: LoadBalancer
  </code></pre>
  <p>When deploying to Docker I am using --link drools-wb:kie-wb</p>
  <pre><code>docker run -p 8180:8080 -d --name kie-server --link drools-wb:kie-wb jboss/kie-server-showcase:latest
  </code></pre>
  <p>In Kubernetes I created service called kie-wb, but that doesn't help.
  What am I missing here?</p>