feat: add Redpanda Console at redpanda.neuralplatform.ai
This commit is contained in:
@@ -79,3 +79,75 @@ spec:
|
|||||||
port: 8082
|
port: 8082
|
||||||
targetPort: 8082
|
targetPort: 8082
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: redpanda-console
|
||||||
|
namespace: platform
|
||||||
|
labels:
|
||||||
|
app: redpanda-console
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: redpanda-console
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: redpanda-console
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: console
|
||||||
|
image: docker.redpanda.com/redpandadata/console:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
env:
|
||||||
|
- name: KAFKA_BROKERS
|
||||||
|
value: redpanda.platform.svc.cluster.local:9092
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 64Mi
|
||||||
|
cpu: 50m
|
||||||
|
limits:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 200m
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: redpanda-console
|
||||||
|
namespace: platform
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: redpanda-console
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
targetPort: 8080
|
||||||
|
type: ClusterIP
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: redpanda-console
|
||||||
|
namespace: platform
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- redpanda.neuralplatform.ai
|
||||||
|
secretName: redpanda-console-tls
|
||||||
|
rules:
|
||||||
|
- host: redpanda.neuralplatform.ai
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: redpanda-console
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user