-
Notifications
You must be signed in to change notification settings - Fork 669
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
Trim sandbox #727
Trim sandbox #727
Changes from 9 commits
10620b3
d133213
1c81295
2a03656
6a35625
74910ae
fc1b5cb
726f658
f28d460
f59cdab
9016da6
78de9f8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -580,14 +580,16 @@ data: | |
rate: 10 | ||
capacity: 100 | ||
enabled_plugins.yaml: | | ||
## | ||
# TODO It is important to enable the plugins that you want to deploy here. | ||
tasks: | ||
task-plugins: | ||
enabled-plugins: | ||
- container | ||
- sidecar | ||
- k8s-array | ||
default-for-task-types: | ||
container: container | ||
sidecar: sidecar | ||
container_array: k8s-array | ||
k8s.yaml: | | ||
plugins: | ||
k8s: | ||
|
@@ -601,6 +603,10 @@ data: | |
logger: | ||
show-source: true | ||
level: 2 | ||
noop_resource_manager.yaml: | | ||
propeller: | ||
resourcemanager: | ||
type: noop | ||
resource_manager.yaml: | | ||
propeller: | ||
resourcemanager: | ||
|
@@ -629,7 +635,7 @@ data: | |
kubernetes-url: "http://localhost:30082" | ||
kind: ConfigMap | ||
metadata: | ||
name: flyte-propeller-config-45fc6m5292 | ||
name: flyte-propeller-config-dg8ghd754d | ||
namespace: flyte | ||
--- | ||
apiVersion: v1 | ||
|
@@ -724,23 +730,6 @@ spec: | |
selector: | ||
app: postgres | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app: redis-resource-manager | ||
name: redis-resource-manager | ||
namespace: flyte | ||
spec: | ||
ports: | ||
- name: redis | ||
port: 6379 | ||
protocol: TCP | ||
targetPort: redis | ||
selector: | ||
app: redis-resource-manager | ||
type: ClusterIP | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
|
@@ -964,7 +953,7 @@ spec: | |
- sh | ||
- -c | ||
- until pg_isready -h postgres -p 5432; do echo waiting for database; sleep 2; done; | ||
image: postgres:10.1 | ||
image: postgres:10.16-alpine | ||
name: check-db-ready | ||
- command: | ||
- flyteadmin | ||
|
@@ -988,9 +977,8 @@ spec: | |
- /etc/flyte/config/*.yaml | ||
- migrate | ||
- seed-projects | ||
- flytesnacks | ||
- flytetester | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we remove this one as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's used by the current version of flytetester image used in endtoend tests.... once that migrates off, then we can |
||
- flyteexamples | ||
- flytesnacks | ||
image: ghcr.io/lyft/flyteadmin:v0.3.29 | ||
imagePullPolicy: IfNotPresent | ||
name: seed-projects | ||
|
@@ -1074,7 +1062,7 @@ spec: | |
serviceAccountName: flytepropeller | ||
volumes: | ||
- configMap: | ||
name: flyte-propeller-config-45fc6m5292 | ||
name: flyte-propeller-config-dg8ghd754d | ||
name: config-volume | ||
--- | ||
apiVersion: apps/v1 | ||
|
@@ -1127,7 +1115,10 @@ spec: | |
app: postgres | ||
spec: | ||
containers: | ||
- image: postgres:10.1 | ||
- env: | ||
- name: POSTGRES_HOST_AUTH_METHOD | ||
value: trust | ||
image: postgres:10.16-alpine | ||
name: postgres | ||
ports: | ||
- containerPort: 5432 | ||
|
@@ -1139,66 +1130,6 @@ spec: | |
- emptyDir: {} | ||
name: postgres-storage | ||
--- | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: redis | ||
namespace: flyte | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: redis-resource-manager | ||
serviceName: redis-resource-manager | ||
template: | ||
metadata: | ||
labels: | ||
app: redis-resource-manager | ||
spec: | ||
containers: | ||
- env: | ||
- name: REDIS_PASSWORD | ||
value: mypassword | ||
image: docker.io/bitnami/redis:4.0.2-r1 | ||
imagePullPolicy: IfNotPresent | ||
livenessProbe: | ||
exec: | ||
command: | ||
- redis-cli | ||
- ping | ||
failureThreshold: 3 | ||
initialDelaySeconds: 30 | ||
periodSeconds: 10 | ||
successThreshold: 1 | ||
timeoutSeconds: 5 | ||
name: redis-resource-manager | ||
ports: | ||
- containerPort: 6379 | ||
name: redis | ||
protocol: TCP | ||
readinessProbe: | ||
exec: | ||
command: | ||
- redis-cli | ||
- ping | ||
failureThreshold: 3 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
successThreshold: 1 | ||
timeoutSeconds: 1 | ||
resources: | ||
requests: | ||
cpu: 200m | ||
memory: 128Mi | ||
volumeMounts: | ||
- mountPath: /bitnami | ||
name: redis-data | ||
dnsPolicy: ClusterFirst | ||
restartPolicy: Always | ||
volumes: | ||
- emptyDir: {} | ||
name: redis-data | ||
--- | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
propeller: | ||
resourcemanager: | ||
type: noop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!