apiVersion: apps/v1
kind: Deployment
metadata:
  name: eurekaserver
  labels:
    app: eurekaserver
spec:
  replicas: 1
  selector:
    matchLabels:
      app: eurekaserver
  template:
    metadata:
      labels:
        app: eurekaserver
    spec:
      imagePullSecrets:
        - name: pipeline-docker-registry
      containers:
        - name: eurekaserver
          image: 192.168.0.106:445/chenfg/myeureka:${CICD_GIT_TAG}
          ports:
            - containerPort: 8791