Skip to content

Commit

Permalink
chore: update js-ceramic healthcheck timing (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
3benbox authored Jun 12, 2024
1 parent cf9be35 commit dbf521e
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 84 deletions.
12 changes: 6 additions & 6 deletions operator/src/network/ceramic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,9 @@ pub fn stateful_set_spec(ns: &str, bundle: &CeramicBundle<'_>) -> StatefulSetSpe
port: IntOrString::String("api".to_owned()),
..Default::default()
}),
initial_delay_seconds: Some(60),
period_seconds: Some(15),
timeout_seconds: Some(30),
initial_delay_seconds: Some(15),
period_seconds: Some(30),
timeout_seconds: Some(60),
..Default::default()
}),
liveness_probe: Some(Probe {
Expand All @@ -571,9 +571,9 @@ pub fn stateful_set_spec(ns: &str, bundle: &CeramicBundle<'_>) -> StatefulSetSpe
port: IntOrString::String("api".to_owned()),
..Default::default()
}),
initial_delay_seconds: Some(60),
period_seconds: Some(15),
timeout_seconds: Some(30),
initial_delay_seconds: Some(15),
period_seconds: Some(30),
timeout_seconds: Some(120),
..Default::default()
}),
resources: Some(ResourceRequirements {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_go_ss_1
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_1
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_0
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_1
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_2
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_3
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_4
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_5
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_6
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_7
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_8
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/ceramic_ss_weighted_9
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down
12 changes: 6 additions & 6 deletions operator/src/network/testdata/default_stubs/ceramic_stateful_set
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 120
},
"name": "ceramic",
"ports": [
Expand All @@ -132,9 +132,9 @@ Request {
"path": "/api/v0/node/healthcheck",
"port": "api"
},
"initialDelaySeconds": 60,
"periodSeconds": 15,
"timeoutSeconds": 30
"initialDelaySeconds": 15,
"periodSeconds": 30,
"timeoutSeconds": 60
},
"resources": {
"limits": {
Expand Down

0 comments on commit dbf521e

Please sign in to comment.