text
stringlengths
0
37.6k
uid: 11f0d48d-134f-471b-9340-b6d45d953fcb
spec:
providerConfigRef:
name: crossplane
forProvider:
zoneId: A1B2C3D4
type: A
aliasTarget:
dnsName: abcdefg.cloudfront.net.
evaluateTargetHealth: false
hostedZoneId: AZBZCZDEFG
status:
conditions:
- lastTransitionTime: "2023-11-16T04:44:27Z"
reason: Creating
status: "False"
type: Ready
- lastTransitionTime: "2023-11-16T04:44:25Z"
reason: ReconcileSuccess
status: "True"
type: Synced
<|endoftext|>
# argocd_source_argocd-notifications-controller-rbac-clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: argocd-notifications-controller-cluster-apps
app.kubernetes.io/part-of: argocd
app.kubernetes.io/component: notifications-controller
name: argocd-notifications-controller-cluster-apps
rules:
- apiGroups:
- "argoproj.io"
resources:
- "applications"
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
<|endoftext|>
# helm_charts_statefulset-worker.yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ .Release.Name }}-worker
labels:
app: {{ template "distributed-tensorflow.name" . }}
chart: {{ template "distributed-tensorflow.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
role: worker
spec:
selector:
matchLabels:
app: {{ template "distributed-tensorflow.name" . }}
release: {{ .Release.Name }}
role: worker
serviceName: {{ template "distributed-tensorflow.fullname" . }}-worker
podManagementPolicy: {{ .Values.worker.podManagementPolicy }}
replicas: {{.Values.worker.number}}
template:
metadata:
labels:
app: {{ template "distributed-tensorflow.name" . }}
chart: {{ template "distributed-tensorflow.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
role: worker
spec:
{{- if .Values.volumes }}
volumes:
{{ toYaml .Values.volumes | indent 6 }}
{{- end }}
containers:
- name: worker
image: "{{ .Values.worker.image.repository }}:{{ .Values.worker.image.tag }}"
imagePullPolicy: {{ .Values.worker.image.pullPolicy }}
command:
- "python"
- "train_distributed.py"
{{- if gt (int .Values.worker.gpuCount) 0 }}
- --num_gpus
- "{{ .Values.worker.gpuCount }}"
{{- end }}
{{- if .Values.hyperparams.learningrate }}
- --learning_rate
- "{{ .Values.hyperparams.learningrate }}"
{{- end }}