Last active
July 17, 2020 18:09
-
-
Save pulumipus/a8177859dad6efbadc600c49ab678008 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mariadb = new k8s.apps.v1.StatefulSet("mariadb", { | |
spec: { | |
selector: { | |
matchLabels: { | |
app: "mariadb", | |
release: "example", | |
component: "master" | |
} | |
}, | |
serviceName: "mariadb", | |
replicas: 1, | |
updateStrategy: { | |
type: "RollingUpdate" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment