Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update namespaced install manifest to include inverse proxy #1446

Merged
merged 1 commit into from
Jun 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 64 additions & 5 deletions manifests/namespaced-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ metadata:
name: pipeline-runner
namespace: kubeflow
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: proxy-agent-runner
namespace: kubeflow
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand Down Expand Up @@ -362,6 +368,21 @@ rules:
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
labels:
app: proxy-agent-runner
name: proxy-agent-runner
namespace: kubeflow
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand Down Expand Up @@ -464,6 +485,22 @@ subjects:
name: pipeline-runner
namespace: kubeflow
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
labels:
app: proxy-agent-runner
name: proxy-agent-runner
namespace: kubeflow
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: proxy-agent-runner
subjects:
- kind: ServiceAccount
name: proxy-agent-runner
namespace: kubeflow
---
apiVersion: v1
data:
config: |
Expand Down Expand Up @@ -617,7 +654,7 @@ spec:
- env:
- name: NAMESPACE
value: kubeflow
image: gcr.io/ml-pipeline/persistenceagent:0.1.20
image: gcr.io/ml-pipeline/persistenceagent:0.1.21
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we extract the version and put it into some central location?

imagePullPolicy: IfNotPresent
name: ml-pipeline-persistenceagent
serviceAccountName: ml-pipeline-persistenceagent
Expand All @@ -642,7 +679,7 @@ spec:
- env:
- name: NAMESPACE
value: kubeflow
image: gcr.io/ml-pipeline/scheduledworkflow:0.1.20
image: gcr.io/ml-pipeline/scheduledworkflow:0.1.21
imagePullPolicy: IfNotPresent
name: ml-pipeline-scheduledworkflow
serviceAccountName: ml-pipeline-scheduledworkflow
Expand All @@ -667,7 +704,7 @@ spec:
- env:
- name: MINIO_NAMESPACE
value: kubeflow
image: gcr.io/ml-pipeline/frontend:0.1.20
image: gcr.io/ml-pipeline/frontend:0.1.21
imagePullPolicy: IfNotPresent
name: ml-pipeline-ui
ports:
Expand All @@ -694,7 +731,7 @@ spec:
- env:
- name: MAX_NUM_VIEWERS
value: "50"
image: gcr.io/ml-pipeline/viewer-crd-controller:0.1.20
image: gcr.io/ml-pipeline/viewer-crd-controller:0.1.21
imagePullPolicy: Always
name: ml-pipeline-viewer-crd
serviceAccountName: ml-pipeline-viewer-crd-service-account
Expand All @@ -721,7 +758,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: gcr.io/ml-pipeline/api-server:0.1.20
image: gcr.io/ml-pipeline/api-server:0.1.21
imagePullPolicy: IfNotPresent
name: ml-pipeline-api-server
ports:
Expand Down Expand Up @@ -762,6 +799,28 @@ spec:
persistentVolumeClaim:
claimName: mysql-pv-claim
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
labels:
app: proxy-agent
name: proxy-agent
namespace: kubeflow
spec:
selector:
matchLabels:
app: proxy-agent
template:
metadata:
labels:
app: proxy-agent
spec:
containers:
- image: gcr.io/ml-pipeline/inverse-proxy-agent:0.1.21
imagePullPolicy: IfNotPresent
name: proxy-agent
serviceAccountName: proxy-agent-runner
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
Expand Down