From d97d18b859a81241c08fb164b29cbf8d4caf454a Mon Sep 17 00:00:00 2001 From: "Mike Ray (SQL)" Date: Tue, 6 Nov 2018 20:06:31 -0800 Subject: [PATCH] Update image name for CTP 2.1 --- .../Kubernetes/sample-deployment-script/deploy-ag.py | 2 +- .../templates/sqlserver.yaml | 2 +- .../Kubernetes/sample-manifest-files/failover.yaml | 2 +- .../Kubernetes/sample-manifest-files/operator.yaml | 2 +- .../sample-manifest-files/rotate-creds.yaml | 2 +- .../Kubernetes/sample-manifest-files/sqlserver.yaml | 12 ++++++------ 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/samples/features/high availability/Kubernetes/sample-deployment-script/deploy-ag.py b/samples/features/high availability/Kubernetes/sample-deployment-script/deploy-ag.py index f349f324..2e9c337e 100644 --- a/samples/features/high availability/Kubernetes/sample-deployment-script/deploy-ag.py +++ b/samples/features/high availability/Kubernetes/sample-deployment-script/deploy-ag.py @@ -18,7 +18,7 @@ from utils import (AgRole, AgMode, OperatorYaml, SqlSecretsYaml, SqlServerYaml, AgServiceYaml, FailoverYaml) DEFAULT_K8S_AGENTS_IMAGE = ( - "mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu") + "mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu") diff --git a/samples/features/high availability/Kubernetes/sample-deployment-script/templates/sqlserver.yaml b/samples/features/high availability/Kubernetes/sample-deployment-script/templates/sqlserver.yaml index 94f861df..aa69033f 100644 --- a/samples/features/high availability/Kubernetes/sample-deployment-script/templates/sqlserver.yaml +++ b/samples/features/high availability/Kubernetes/sample-deployment-script/templates/sqlserver.yaml @@ -10,7 +10,7 @@ metadata: spec: sqlServerContainer: - image: mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu + image: mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu saPassword: secretKeyRef: diff --git a/samples/features/high availability/Kubernetes/sample-manifest-files/failover.yaml b/samples/features/high availability/Kubernetes/sample-manifest-files/failover.yaml index fccf8309..73d45086 100644 --- a/samples/features/high availability/Kubernetes/sample-manifest-files/failover.yaml +++ b/samples/features/high availability/Kubernetes/sample-manifest-files/failover.yaml @@ -40,7 +40,7 @@ spec: - name: MSSQL_K8S_NAMESPACE valueFrom: fieldRef: {fieldPath: metadata.namespace} - image: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu + image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu name: manual-failover restartPolicy: Never serviceAccount: manual-failover diff --git a/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml b/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml index 13d3b9f1..e7268fbf 100644 --- a/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml +++ b/samples/features/high availability/Kubernetes/sample-manifest-files/operator.yaml @@ -63,6 +63,6 @@ spec: - name: MSSQL_K8S_NAMESPACE valueFrom: fieldRef: {fieldPath: metadata.namespace} - image: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu + image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu name: mssql-operator serviceAccount: mssql-operator diff --git a/samples/features/high availability/Kubernetes/sample-manifest-files/rotate-creds.yaml b/samples/features/high availability/Kubernetes/sample-manifest-files/rotate-creds.yaml index 54cf4203..046c5a54 100644 --- a/samples/features/high availability/Kubernetes/sample-manifest-files/rotate-creds.yaml +++ b/samples/features/high availability/Kubernetes/sample-manifest-files/rotate-creds.yaml @@ -64,7 +64,7 @@ spec: restartPolicy: Never containers: - name: rotate-creds - image: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu + image: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu command: ["/mssql-server-k8s-rotate-creds"] env: - name: MSSQL_K8S_SQL_SERVER_NAME diff --git a/samples/features/high availability/Kubernetes/sample-manifest-files/sqlserver.yaml b/samples/features/high availability/Kubernetes/sample-manifest-files/sqlserver.yaml index a81e9f6e..9e3a1f65 100644 --- a/samples/features/high availability/Kubernetes/sample-manifest-files/sqlserver.yaml +++ b/samples/features/high availability/Kubernetes/sample-manifest-files/sqlserver.yaml @@ -6,7 +6,7 @@ metadata: namespace: ag1 spec: acceptEula: true - agentsContainerImage: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu + agentsContainerImage: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu availabilityGroups: [ag1] instanceRootVolumeClaimTemplate: accessModes: [ReadWriteOnce] @@ -15,7 +15,7 @@ spec: storageClass: default saPassword: secretKeyRef: {key: sapassword, name: sql-secrets} - sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu'} + sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu'} --- apiVersion: v1 kind: Service @@ -34,7 +34,7 @@ metadata: namespace: ag1 spec: acceptEula: true - agentsContainerImage: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu + agentsContainerImage: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu availabilityGroups: [ag1] instanceRootVolumeClaimTemplate: accessModes: [ReadWriteOnce] @@ -43,7 +43,7 @@ spec: storageClass: default saPassword: secretKeyRef: {key: sapassword, name: sql-secrets} - sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu'} + sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu'} --- apiVersion: v1 kind: Service @@ -62,7 +62,7 @@ metadata: namespace: ag1 spec: acceptEula: true - agentsContainerImage: mcr.microsoft.com/mssql/ha:vNext-CTP2.0-ubuntu + agentsContainerImage: mcr.microsoft.com/mssql/ha:2019-CTP2.1-ubuntu availabilityGroups: [ag1] instanceRootVolumeClaimTemplate: accessModes: [ReadWriteOnce] @@ -71,7 +71,7 @@ spec: storageClass: default saPassword: secretKeyRef: {key: sapassword, name: sql-secrets} - sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:vNext-CTP2.0-ubuntu'} + sqlServerContainer: {image: 'mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu'} --- apiVersion: v1 kind: Service