mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Set local-storage as the default storage class
This commit is contained in:
+4
@@ -239,6 +239,10 @@ kubectl taint nodes ${master_node} node-role.kubernetes.io/master:NoSchedule-
|
||||
#
|
||||
kubectl apply -f https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/azure-arc/deployment/kubeadm/ubuntu/local-storage-provisioner.yaml
|
||||
|
||||
# Set local-storage as the default storage class
|
||||
#
|
||||
kubectl patch storageclass local-storage -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
|
||||
|
||||
# Install the software defined network.
|
||||
#
|
||||
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
|
||||
|
||||
Reference in New Issue
Block a user