diff --git a/Distribution/README.md b/Distribution/README.md index b176953..a04a344 100644 --- a/Distribution/README.md +++ b/Distribution/README.md @@ -159,6 +159,7 @@ metadata: name: distribution-service namespace: distribution spec: + type: LoadBalancer selector: # app.kubernetes.io/name: registry run: registry @@ -167,6 +168,7 @@ spec: protocol: TCP port: 5000 targetPort: 5000 + loadBalancerIP: 192.168.202.5 ``` ### Deployment diff --git a/Distribution/Service.yaml b/Distribution/Service.yaml index 838b4d8..abfd6b7 100644 --- a/Distribution/Service.yaml +++ b/Distribution/Service.yaml @@ -5,11 +5,13 @@ metadata: name: distribution-service namespace: distribution spec: + type: LoadBalancer selector: - # app.kubernetes.io/name:registry + # app.kubernetes.io/name: registry run: registry ports: - name: registry-tcp protocol: TCP port: 5000 - targetPort: 5000 \ No newline at end of file + targetPort: 5000 + loadBalancerIP: 192.168.202.5 \ No newline at end of file