mirror of
https://github.com/autistic-symposium/ml-quantum-tensorflow-py.git
synced 2025-05-16 05:22:21 -04:00
kustomize
This commit is contained in:
parent
ae72757665
commit
aa0e248a45
330 changed files with 27690 additions and 0 deletions
18
kubeflow/kfapp/kustomize/scheduledworkflow/base/crd.yaml
Normal file
18
kubeflow/kfapp/kustomize/scheduledworkflow/base/crd.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: scheduledworkflows.kubeflow.org
|
||||
spec:
|
||||
group: kubeflow.org
|
||||
names:
|
||||
kind: ScheduledWorkflow
|
||||
listKind: ScheduledWorkflowList
|
||||
plural: scheduledworkflows
|
||||
shortNames:
|
||||
- swf
|
||||
singular: scheduledworkflow
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1beta1
|
||||
served: true
|
||||
storage: true
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: apps/v1beta2
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ml-pipeline-scheduledworkflow
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: ml-pipeline-scheduledworkflow
|
||||
env:
|
||||
- name: POD_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
image: gcr.io/ml-pipeline/scheduledworkflow:0.1.23
|
||||
imagePullPolicy: IfNotPresent
|
||||
serviceAccountName: ml-pipeline-scheduledworkflow
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kubeflow
|
||||
commonLabels:
|
||||
app: ml-pipeline-scheduledworkflow
|
||||
resources:
|
||||
- crd.yaml
|
||||
- deployment.yaml
|
||||
- role-binding.yaml
|
||||
- role.yaml
|
||||
- service-account.yaml
|
||||
images:
|
||||
- name: gcr.io/ml-pipeline/scheduledworkflow
|
||||
newTag: '0.1.23'
|
|
@ -0,0 +1,11 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: ml-pipeline-scheduledworkflow
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: ml-pipeline-scheduledworkflow
|
29
kubeflow/kfapp/kustomize/scheduledworkflow/base/role.yaml
Normal file
29
kubeflow/kfapp/kustomize/scheduledworkflow/base/role.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: ml-pipeline-scheduledworkflow
|
||||
rules:
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
resources:
|
||||
- workflows
|
||||
verbs:
|
||||
- create
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- kubeflow.org
|
||||
resources:
|
||||
- scheduledworkflows
|
||||
verbs:
|
||||
- create
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- update
|
||||
- patch
|
||||
- delete
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: ml-pipeline-scheduledworkflow
|
|
@ -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