Svc project structe fixed

This commit is contained in:
Pamir Erdem
2018-09-30 00:34:20 +03:00
parent 23da749101
commit bf5f5d47ba
5 changed files with 31 additions and 0 deletions

0
06-services/ReadMe.md Normal file
View File

0
06-services/external/ReadMe.md vendored Normal file
View File

View File

@@ -0,0 +1,9 @@
kind: Endpoints
apiVersion: v1
metadata:
name: external-ip-database
subsets:
- addresses:
- ip: 192.168.0.1
ports:
- port: 3306

View File

@@ -0,0 +1,22 @@
apiVersion: v1
kind: Service
metadata:
name: database
spec:
ports:
- port: 1433
targetPort: 1433
protocol: TCP
---
# Because this service has no selector, the corresponding Endpoints
# object will not be created. You can manually map the service to
# your own specific endpoints:
kind: Endpoints
apiVersion: v1
metadata:
name: database
subsets:
- addresses:
- ip: "192.168.1.103"
ports:
- port: 1433

View File