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

K8s crons have issues on docker-for-mac deployments. #249

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
38 changes: 19 additions & 19 deletions deployment/sandbox/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,10 @@ data:
name: domain
cluster_resources:
templatePath: "/etc/flyte/clusterresource/templates"
refresh: 5m
refresh: 10s
kind: ConfigMap
metadata:
name: flyte-admin-config-4k466cfctf
name: flyte-admin-config-h889md4bc8
namespace: flyte
---
apiVersion: v1
Expand Down Expand Up @@ -963,6 +963,21 @@ spec:
app.kubernetes.io/version: 0.2.4
spec:
containers:
- command:
- flyteadmin
- --logger.mute
- --config
- /etc/flyte/config/flyteadmin_config.yaml
- clusterresource
- run
image: docker.io/lyft/flyteadmin:v0.2.4
imagePullPolicy: IfNotPresent
name: run-cluster-resources
volumeMounts:
- mountPath: /etc/flyte/clusterresource/templates
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
- command:
- flyteadmin
- --logtostderr
Expand Down Expand Up @@ -1042,21 +1057,6 @@ spec:
volumeMounts:
- mountPath: /etc/flyte/config
name: config-volume
- command:
- flyteadmin
- --logtostderr
- --config
- /etc/flyte/config/flyteadmin_config.yaml
- clusterresource
- sync
image: docker.io/lyft/flyteadmin:v0.2.4
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
- mountPath: /etc/flyte/clusterresource/templates
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
serviceAccountName: flyteadmin
volumes:
- configMap:
Expand All @@ -1065,7 +1065,7 @@ spec:
- emptyDir: {}
name: shared-data
- configMap:
name: flyte-admin-config-4k466cfctf
name: flyte-admin-config-h889md4bc8
name: config-volume
---
apiVersion: apps/v1
Expand Down Expand Up @@ -1462,7 +1462,7 @@ spec:
name: clusterresource-template-dgc9fcm2kh
name: resource-templates
- configMap:
name: flyte-admin-config-4k466cfctf
name: flyte-admin-config-h889md4bc8
name: config-volume
schedule: '*/1 * * * *'
---
Expand Down
38 changes: 19 additions & 19 deletions deployment/test/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@ data:
name: domain
cluster_resources:
templatePath: "/etc/flyte/clusterresource/templates"
refresh: 5m
refresh: 10s
kind: ConfigMap
metadata:
name: flyte-admin-config-4k466cfctf
name: flyte-admin-config-h889md4bc8
namespace: flyte
---
apiVersion: v1
Expand Down Expand Up @@ -630,6 +630,21 @@ spec:
app.kubernetes.io/version: 0.2.4
spec:
containers:
- command:
- flyteadmin
- --logger.mute
- --config
- /etc/flyte/config/flyteadmin_config.yaml
- clusterresource
- run
image: docker.io/lyft/flyteadmin:v0.2.4
imagePullPolicy: IfNotPresent
name: run-cluster-resources
volumeMounts:
- mountPath: /etc/flyte/clusterresource/templates
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
- command:
- flyteadmin
- --logtostderr
Expand Down Expand Up @@ -709,21 +724,6 @@ spec:
volumeMounts:
- mountPath: /etc/flyte/config
name: config-volume
- command:
- flyteadmin
- --logtostderr
- --config
- /etc/flyte/config/flyteadmin_config.yaml
- clusterresource
- sync
image: docker.io/lyft/flyteadmin:v0.2.4
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
- mountPath: /etc/flyte/clusterresource/templates
name: resource-templates
- mountPath: /etc/flyte/config
name: config-volume
serviceAccountName: flyteadmin
volumes:
- configMap:
Expand All @@ -732,7 +732,7 @@ spec:
- emptyDir: {}
name: shared-data
- configMap:
name: flyte-admin-config-4k466cfctf
name: flyte-admin-config-h889md4bc8
name: config-volume
---
apiVersion: apps/v1
Expand Down Expand Up @@ -1029,7 +1029,7 @@ spec:
name: clusterresource-template-dgc9fcm2kh
name: resource-templates
- configMap:
name: flyte-admin-config-4k466cfctf
name: flyte-admin-config-h889md4bc8
name: config-volume
schedule: '*/1 * * * *'
---
Expand Down
14 changes: 10 additions & 4 deletions kustomize/overlays/sandbox/admindeployment/admindeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,22 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /etc/flyte/config
- name: sync-cluster-resources
containers:
- command:
- flyteadmin
- --logger.mute
- --config
- /etc/flyte/config/flyteadmin_config.yaml
- clusterresource
- run
image: docker.io/lyft/flyteadmin:v0.2.4
imagePullPolicy: IfNotPresent
command: ["flyteadmin", "--logtostderr", "--config", "/etc/flyte/config/flyteadmin_config.yaml", "clusterresource", "sync"]
name: run-cluster-resources
volumeMounts:
- name: resource-templates
- name: resource-templates
mountPath: /etc/flyte/clusterresource/templates
- name: config-volume
mountPath: /etc/flyte/config
containers:
- name: flyteadmin
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ domains:
name: domain
cluster_resources:
templatePath: "/etc/flyte/clusterresource/templates"
refresh: 5m
refresh: 10s