-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#13 add header in prep of OOM-710 migration
- Loading branch information
1 parent
dd588a0
commit 4b9bbe9
Showing
3 changed files
with
27 additions
and
7 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 |
---|---|---|
@@ -1,24 +1,33 @@ | ||
# F. Michael O'Brien | ||
# 20180124 | ||
# as root - because of the logout that would be required after the docker user set | ||
# WIP under construction for | ||
# https://wiki.onap.org/questions/users?username=michaelobrien | ||
# https://wiki.onap.org/display/DW/ONAP+on+Kubernetes | ||
# Amsterdam | ||
# Rancher 1.6.10, Kubernetes 1.7.7, Kubectl 1.7.7, Helm 2.3.0, Docker 1.12 | ||
# master | ||
# Rancher 1.6.14, Kubernetes 1.8.6, Kubectl 1.8.6, Helm 2.6.0, Docker 17.3 | ||
# see migration to onap under https://jira.onap.org/browse/OOM-710 | ||
# | ||
# run as root - because of the logout that would be required after the docker user set | ||
#curl https://releases.rancher.com/install-docker/1.12.sh | sh | ||
curl https://releases.rancher.com/install-docker/17.03.sh | sh | ||
# when running as non-root (ubuntu) run the following and logout/log back in | ||
sudo usermod -aG docker ubuntu | ||
docker run -d --restart=unless-stopped -p 8880:8080 --name rancher_server rancher/server:v1.6.14 | ||
# no Kubernetes 1.9.0 yet | ||
#curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | ||
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.9.2/bin/linux/amd64/kubectl | ||
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.8.6/bin/linux/amd64/kubectl | ||
chmod +x ./kubectl | ||
sudo mv ./kubectl /usr/local/bin/kubectl | ||
mkdir ~/.kube | ||
wget http://storage.googleapis.com/kubernetes-helm/helm-v2.8.0-linux-amd64.tar.gz | ||
tar -zxvf helm-v2.8.0-linux-amd64.tar.gz | ||
wget http://storage.googleapis.com/kubernetes-helm/helm-v2.6.0-linux-amd64.tar.gz | ||
tar -zxvf helm-v2.6.0-linux-amd64.tar.gz | ||
sudo mv linux-amd64/helm /usr/local/bin/helm | ||
|
||
# pending create of client host | ||
# see https://wiki.onap.org/display/DW/ONAP+on+Kubernetes#ONAPonKubernetes-Registeryourhost | ||
# pending token and paste to | ||
#vi ~/.kube/config | ||
echo "run the following after attaching the host" | ||
echo "run the following after attaching the host if you installed a higher kubectl version than the server" | ||
echo "helm init --upgrade" | ||
#helm init --upgrade |