Untitled

mail@pastecode.io avatar
unknown
plain_text
14 days ago
597 B
3
Indexable
Never
apiVersion: v1
kind: Service
metadata:
  name: multi-juicer-service
spec:
  selector:
    app: multi-juicer
  ports:
    - protocol: TCP
      port: 80
      targetPort: 3000
  type: LoadBalancer




apiVersion: apps/v1
kind: Deployment
metadata:
  name: multi-juicer-deployment
spec:
  replicas: 2
  selector:
    matchLabels:
      app: multi-juicer
  template:
    metadata:
      labels:
        app: multi-juicer
    spec:
      containers:
      - name: multi-juicer
        image: kggorzelvk/multi-juicer:latest
        ports:
        - containerPort: 3000
Leave a Comment