mirror of
https://github.com/autistic-symposium/ml-quantum-tensorflow-py.git
synced 2025-05-31 12:24:23 -04:00
kustomize
This commit is contained in:
parent
ae72757665
commit
aa0e248a45
330 changed files with 27690 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: persistenceagent
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: persistenceagent
|
|
@ -0,0 +1,21 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: persistenceagent
|
||||
rules:
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
resources:
|
||||
- workflows
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- kubeflow.org
|
||||
resources:
|
||||
- scheduledworkflows
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: apps/v1beta2
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: persistenceagent
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: ml-pipeline-persistenceagent
|
||||
env:
|
||||
- name: POD_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
image: gcr.io/ml-pipeline/persistenceagent:0.1.23
|
||||
imagePullPolicy: IfNotPresent
|
||||
serviceAccountName: ml-pipeline-persistenceagent
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
nameprefix: ml-pipeline-
|
||||
commonLabels:
|
||||
app: ml-pipeline-persistenceagent
|
||||
resources:
|
||||
- clusterrole-binding.yaml
|
||||
- clusterrole.yaml
|
||||
- deployment.yaml
|
||||
- service-account.yaml
|
||||
images:
|
||||
- name: gcr.io/ml-pipeline/persistenceagent
|
||||
newTag: '0.1.23'
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: persistenceagent
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
bases:
|
||||
- base
|
||||
kind: Kustomization
|
||||
namespace: kubeflow
|
Loading…
Add table
Add a link
Reference in a new issue