Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Begun fsm refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasK33 committed Dec 8, 2020
1 parent 2c43d0a commit e3aa386
Show file tree
Hide file tree
Showing 26 changed files with 913 additions and 682 deletions.
2 changes: 1 addition & 1 deletion architecture.drawio

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions devops/kubernetes/src/charts/clusterClean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,30 +596,30 @@ export class ClusterSetupClean extends Chart {
});

// Influxdb RC1
const influxdbSSLabelsRC1 = {
const influxdbLabels = {
app: "influxdb-rc",
};

const influxdbSS = new StatefulSet(this, "influxdb-rc-statefulset", {
metadata: {
name: "influxdb-rc",
namespace: influxNS.name,
labels: influxdbSSLabelsRC1,
labels: influxdbLabels,
},
spec: {
replicas: 1,
selector: {
matchLabels: influxdbSSLabelsRC1,
matchLabels: influxdbLabels,
},
serviceName: "influxdb-rc",
template: {
metadata: {
labels: influxdbSSLabelsRC1,
labels: influxdbLabels,
},
spec: {
containers: [
{
image: "quay.io/influxdb/influxdb:2.0.0-rc",
image: "quay.io/influxdb/influxdb:2.0.2",
name: "influxdb",
ports: [
{
Expand Down Expand Up @@ -657,7 +657,7 @@ export class ClusterSetupClean extends Chart {
},
});

new Service(this, "influxdb-rc-service", {
new Service(this, "influxdb-service", {
metadata: {
name: influxdbSS.name,
namespace: influxNS.name,
Expand All @@ -670,7 +670,7 @@ export class ClusterSetupClean extends Chart {
targetPort: 8086,
},
],
selector: influxdbSSLabelsRC1,
selector: influxdbLabels,
type: "ClusterIP",
},
});
Expand Down
Loading

0 comments on commit e3aa386

Please sign in to comment.