diff options
author | terminaldweller <thabogre@gmail.com> | 2021-11-14 16:16:18 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-11-14 16:16:18 +0000 |
commit | dd8231dc44b7ba9a2b505f56969d33ef41ff6724 (patch) | |
tree | a927d1162a296f739ca518a8a5adc2e17c8f13f4 /kubernetes/bitlbee-purple/bitlbee-deployment.yaml | |
parent | updates (diff) | |
download | scripts-dd8231dc44b7ba9a2b505f56969d33ef41ff6724.tar.gz scripts-dd8231dc44b7ba9a2b505f56969d33ef41ff6724.zip |
moved bitlbee to kubernetes. using bitlbee-libpurple now
Diffstat (limited to '')
-rw-r--r-- | kubernetes/bitlbee-purple/bitlbee-deployment.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/kubernetes/bitlbee-purple/bitlbee-deployment.yaml b/kubernetes/bitlbee-purple/bitlbee-deployment.yaml new file mode 100644 index 0000000..5d4b4f4 --- /dev/null +++ b/kubernetes/bitlbee-purple/bitlbee-deployment.yaml @@ -0,0 +1,44 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: bitlbee-libpurple + labels: + app: bitlbee-libpurple +spec: + replicas: 1 + selector: + matchLabels: + app: bitlbee-libpurple + template: + metadata: + labels: + app: bitlbee-libpurple + spec: + containers: + - name: bitlbee-libpurple + image: ezkrg/bitlbee-libpurple:debian-20210922235056 + ports: + - containerPort: 6667 + # volumeMounts: + # - name: bitlbee-libpurple-conf + # mountPath: /var/lib/bitlbee + # readOnly: true + # volumes: + # - name: bitlbee-conf + # configMap: + # name: bitlbee-config-file +--- +apiVersion: v1 +kind: Service +metadata: + name: bitlebee-libpurple-service +spec: + selector: + app: bitlbee-libpurple + type: LoadBalancer + ports: + - protocol: TCP + name: "6667" + port: 6667 + targetPort: 6667 + nodePort: 30667 |