mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Updated k8s version & bootstrap step
This commit is contained in:
@@ -10,8 +10,12 @@ END;
|
||||
GO
|
||||
|
||||
-- Enable external scripts execution for R/Python/Java:
|
||||
exec sp_configure 'external scripts enabled', 1;
|
||||
RECONFIGURE WITH OVERRIDE;
|
||||
DECLARE @config_option nvarchar(100) = 'external scripts enabled';
|
||||
IF NOT EXISTS(SELECT * FROM sys.configurations WHERE name = @config_option)
|
||||
BEGIN
|
||||
exec sp_configure @config_option, 1;
|
||||
RECONFIGURE WITH OVERRIDE;
|
||||
END;
|
||||
GO
|
||||
|
||||
IF DB_ID('sales') IS NULL
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# Initialize a kubernetes cluster on the current node.
|
||||
#
|
||||
KUBE_VERSION=1.13.0
|
||||
KUBE_VERSION=1.13.4
|
||||
sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --kubernetes-version=$KUBE_VERSION
|
||||
mkdir -p $HOME/.kube
|
||||
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
|
||||
deb http://apt.kubernetes.io/ kubernetes-xenial main
|
||||
EOF
|
||||
|
||||
KUBE_DPKG_VERSION=1.13.0-00
|
||||
KUBE_DPKG_VERSION=1.13.4-00
|
||||
apt-get update
|
||||
apt-get install -y ebtables ethtool
|
||||
apt-get install -y docker.io
|
||||
|
||||
Reference in New Issue
Block a user