Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: tensorflow
- labels:
- app: tensorflow
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: tensorflow
- template:
- metadata:
- labels:
- app: tensorflow
- spec:
- containers:
- - name: tensorflow
- image: tensorflow/tensorflow
- ports:
- - containerPort: 8888
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: tensorflow
- spec:
- ports:
- - port: 80
- targetPort: 8888
- protocol: TCP
- type: LoadBalancer
- selector:
- app: tensorflow
Add Comment
Please, Sign In to add comment