diff --git a/cluster/apps/presidential-paradise/kustomization.yaml b/cluster/apps/presidential-paradise/kustomization.yaml index cd9cd51..bf59f12 100644 --- a/cluster/apps/presidential-paradise/kustomization.yaml +++ b/cluster/apps/presidential-paradise/kustomization.yaml @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - wooloofanclub - - zookeeper + # - zookeeper diff --git a/cluster/apps/presidential-paradise/zookeeper/deployment.yaml b/cluster/apps/presidential-paradise/zookeeper/deployment.yaml index 43a4f2b..193f992 100644 --- a/cluster/apps/presidential-paradise/zookeeper/deployment.yaml +++ b/cluster/apps/presidential-paradise/zookeeper/deployment.yaml @@ -25,14 +25,17 @@ spec: - name: zookeeper image: docker.io/0x76/zookeeper:latest ports: - - containerPort: 8085 + - name: web + containerPort: 8085 + - name: epmd + containerPort: 4369 envFrom: - secretRef: name: zookeeper env: - name: LANG value: C.UTF-8 - - name: HOSTNAME + - name: RELEASE_NODE_IP valueFrom: fieldRef: fieldPath: status.podIP diff --git a/cluster/apps/presidential-paradise/zookeeper/external-secret.yaml b/cluster/apps/presidential-paradise/zookeeper/external-secret.yaml index e506c03..6a4803c 100644 --- a/cluster/apps/presidential-paradise/zookeeper/external-secret.yaml +++ b/cluster/apps/presidential-paradise/zookeeper/external-secret.yaml @@ -27,3 +27,7 @@ spec: remoteRef: key: presidential-paradise/zookeeper property: twitter_token + - secretKey: ERLANG_COOKIE + remoteRef: + key: presidential-paradise/zookeeper + property: erlang_cookie diff --git a/cluster/apps/presidential-paradise/zookeeper/svc.yaml b/cluster/apps/presidential-paradise/zookeeper/svc.yaml index ea3bfa1..d5dc285 100644 --- a/cluster/apps/presidential-paradise/zookeeper/svc.yaml +++ b/cluster/apps/presidential-paradise/zookeeper/svc.yaml @@ -8,6 +8,8 @@ spec: ports: - name: epmd port: 4369 + targetPort: epmd + protocol: TCP selector: app: zookeeper --- @@ -19,6 +21,7 @@ metadata: spec: ports: - name: http + targetPort: web port: 8085 selector: app: zookeeper