You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
625 B
22 lines
625 B
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: deployment
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: manager
|
|
command: ["/go/bin/dlv"]
|
|
args: ["--listen=:2345", "--headless=true", "--api-version=2", "exec", "/go/src/github.com/kubeflow/kubeflow/components/profile-controller/manager"]
|
|
env:
|
|
- name: project
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: parameters
|
|
key: project
|
|
image: gcr.io/$(project)/profile-controller:latest
|
|
ports:
|
|
- containerPort: 2345
|
|
securityContext:
|
|
privileged: true
|
|
|