diff --git a/deploy.yaml b/deploy.yaml index 328ac6e..893b83b 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -38,3 +38,19 @@ spec: dnsPolicy: ClusterFirst restartPolicy: Always terminationGracePeriodSeconds: 30 + +--- +kind: Service +apiVersion: v1 +metadata: + name: $IMAGES + namespace: yanxuan +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 80 + selector: + app: $IMAGES + type: ClusterIP +