This file contains hidden or 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
RedHat for Solarflare (a NIC) | |
https://github.com/vikaschoudhary16/kubernetes/pull/7 |
This file contains hidden or 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
https://www.sebastien-han.fr/blog/2015/07/01/build-kubernetes-from-source/ | |
https://kubernetes-v1-4.github.io/docs/getting-started-guides/locally/ |
This file contains hidden or 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
https://github.com/kubernetes/community/blob/58b1c30d95719749068497ba35dfe4c64b21aa72/contributors/design-proposals/resource-management/device-plugin.md | |
https://github.com/kubernetes/community/pull/844 | |
https://github.com/kubernetes/kubernetes/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aclosed%20device%20plugin | |
Multiple GPUs: | |
https://github.com/kubernetes/kubernetes/pull/42116 |
This file contains hidden or 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
Kubernetes local deployment | |
https://www.sebastien-han.fr/blog/2015/07/01/build-kubernetes-from-source/ |
This file contains hidden or 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
remove all nvidia packages ,skip this if your system is fresh installed | |
sudo apt-get remove nvidia* && sudo apt autoremove | |
install some packages for build kernel: | |
sudo apt-get install dkms build-essential linux-headers-generic | |
now block and disable nouveau kernel driver: | |
sudo vim /etc/modprobe.d/blacklist.conf | |
Insert follow lines to the blacklist.conf: |
This file contains hidden or 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
hsaputra@hsaputra-desktop:/etc/resolvconf/resolv.conf.d$ ifconfig | |
docker0 Link encap:Ethernet HWaddr 02:42:24:8b:fb:2a | |
inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 | |
UP BROADCAST MULTICAST MTU:1500 Metric:1 | |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | |
eno1 Link encap:Ethernet HWaddr d0:17:c2:ad:2c:8f |
This file contains hidden or 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
git grep -lz '0.2.0-SNAPSHOT' | xargs -0 perl -i'' -pE "s/0.2.0-SNAPSHOT/0.3.0-SNAPSHOT/g" | |
perl -pi -e 's/foo/bar/g' file.txt |
This file contains hidden or 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
You can ssh into the VM by finding the IP (from kubectl config view) and using username "docker" password "tcuser": | |
ssh [email protected] |
This file contains hidden or 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
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi |
This file contains hidden or 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
~/devel/BIDMach$ cp ../BIDMat/lib/libbidmatc libbidmatcpu-linux-x86_64.so libbidmatcuda-linux-x86_64.so | |
~/devel/BIDMach$ cp ../BIDMat/lib/libbidmatc* lib/ |