-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from dholt/1906-updates
19.06 updates
- Loading branch information
Showing
18 changed files
with
148 additions
and
302 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
ansible_become: true | ||
kubeadm_enabled: true | ||
kube_api_anonymous_auth: true | ||
kubectl_localhost: true | ||
kubeconfig_localhost: true | ||
helm_enabled: true | ||
tiller_node_selectors: "node-role.kubernetes.io/master=''" | ||
docker_dns_servers_strict: no | ||
docker_storage_options: -s overlay2 | ||
|
||
# Reset Flex Volume path to the default. Kubespray changes the path, which breaks Rook | ||
# see: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md | ||
kubelet_flexvolumes_plugins_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec | ||
|
||
# NVIDIA Docker Configuration | ||
# Setting reference: https://docs.nvidia.com/deeplearning/dgx/user-guide/index.html | ||
docker_daemon_json: | ||
bip: 192.168.99.1/24 | ||
default-shm-size: 1G | ||
default-ulimits: | ||
memlock: | ||
name: memlock | ||
hard: -1 | ||
soft: -1 | ||
stack: | ||
name: stack | ||
hard: 67108864 | ||
soft: 67108864 | ||
default-runtime: nvidia | ||
runtimes: | ||
nvidia: | ||
path: /usr/bin/nvidia-container-runtime | ||
runtimeArgs: [] | ||
|
||
# When set to true, enables the PodSecurityPolicy admission controller and | ||
# defines two policies: privileged (applying to all resources in kube-system | ||
# namespace and kubelet) and restricted (applying all other namespaces). | ||
# Addons deployed in kube-system namespaces are handled. | ||
#podsecuritypolicy_enabled: false |
Submodule kubespray
updated
from ea41fc to 7d8da8
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# set path to find `usermod` on RHEL/CentOS | ||
PATH=$PATH:/sbin:/usr/sbin | ||
|
||
getent group docker || exit 0 # docker not installed | ||
|
||
usermod -aG docker "$SLURM_JOB_USER" |
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
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
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
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
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
Oops, something went wrong.