Skip to content
Snippets Groups Projects
Commit 4611b9aa authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Use Recreate strategy when nodowntime is false

parent 9a5d9422
No related branches found
No related tags found
No related merge requests found
Pipeline #115265 passed
Pipeline: shiny-k8s-example

#115266

    ...@@ -15,7 +15,7 @@ type: application ...@@ -15,7 +15,7 @@ type: application
    # This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
    # to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
    # Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
    version: 0.5.0 version: 0.6.0
    # This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
    # incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to
    ......
    ...@@ -16,6 +16,9 @@ spec: ...@@ -16,6 +16,9 @@ spec:
    rollingUpdate: rollingUpdate:
    maxSurge: 1 maxSurge: 1
    maxUnavailable: 0 maxUnavailable: 0
    {{- else }}
    strategy:
    type: Recreate
    {{- end }} {{- end }}
    template: template:
    metadata: metadata:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment