-
Notifications
You must be signed in to change notification settings - Fork 42
Refactor patch logic to use openapiv3 instead of v2/swagger #446
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
Changes from all commits
2814d64
b2c8cb4
cfe9c0e
b2651db
cb33119
18f26e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,13 +93,6 @@ spec: | |
| name: grpc | ||
| - containerPort: 8080 | ||
| name: http | ||
| # We recommend that you do not configure a liveness probe on a production environment, as this can impact the availability of production databases. | ||
|
Contributor
Author
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. Drive-by cleanup |
||
| # livenessProbe: | ||
| # httpGet: | ||
| # path: "/health" | ||
| # port: http | ||
| # initialDelaySeconds: 30 | ||
| # periodSeconds: 5 | ||
| readinessProbe: | ||
| httpGet: | ||
| path: "/health?ready=1" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,12 +16,27 @@ spec: | |
| containers: | ||
| - image: mysql:oracle # Support for arm64 and amd64 | ||
| name: mysql | ||
| # InnoDB's default direct/async I/O fails with EIO against the | ||
| # local-path volume, which lives on the kind node's overlayfs: | ||
| # initialization dies on the first sized write to ibdata1, leaving a | ||
| # half-written data directory that mysqld then refuses to reuse, so | ||
| # the pod crash-loops forever. Plain buffered I/O avoids it. | ||
| args: | ||
| - "--innodb-use-native-aio=0" | ||
| - "--innodb-flush-method=fsync" | ||
|
Comment on lines
+25
to
+26
Contributor
Author
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. This also seems to be salient
Contributor
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. we haven't changed any of this in a long time, i'm unclear on why this is needed now. if the explanation here were true, the tests would never have passed?
Contributor
Author
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. My assumption is that it's highly dependent on what the backing storage is/does, and therefore sensitive to exactly how CI is set up. |
||
| env: | ||
| - name: MYSQL_ROOT_PASSWORD | ||
| value: password | ||
| ports: | ||
| - containerPort: 3306 | ||
| name: mysql | ||
| # Catch container failures early | ||
| readinessProbe: | ||
| tcpSocket: | ||
| port: mysql | ||
| initialDelaySeconds: 10 | ||
| periodSeconds: 5 | ||
| failureThreshold: 30 | ||
| volumeMounts: | ||
| - name: mysql-disk | ||
| mountPath: /var/lib/mysql | ||
|
|
@@ -32,7 +47,10 @@ spec: | |
| accessModes: ["ReadWriteOnce"] | ||
| resources: | ||
| requests: | ||
| storage: 100Mi | ||
| # A freshly initialized datadir is ~105MiB, so this leaves headroom. | ||
| # Note the provisioner does not enforce this, so it is a statement | ||
| # of intent rather than a limit. | ||
| storage: 500Mi | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Service | ||
|
|
||
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.
Some extra defensiveness