From 29c115f867e224d18b086dd0b8e2465397189aac Mon Sep 17 00:00:00 2001 From: Michael O'Brien Date: Sun, 13 May 2018 08:14:42 -0400 Subject: rancher/k8s/helm/docker install Change-Id: Idf39ad49e7a18ed0ff654503e75c6954380d0703 Signed-off-by: Michael O'Brien Issue-ID: LOG-325 --- deploy/rancher/oom_entrypoint.sh | 93 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100755 deploy/rancher/oom_entrypoint.sh (limited to 'deploy/rancher/oom_entrypoint.sh') diff --git a/deploy/rancher/oom_entrypoint.sh b/deploy/rancher/oom_entrypoint.sh new file mode 100755 index 0000000..551f404 --- /dev/null +++ b/deploy/rancher/oom_entrypoint.sh @@ -0,0 +1,93 @@ +#!/bin/bash +############################################################################# +# +# Copyright © 2018 Amdocs. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +############################################################################# +# +# This installation is for a rancher managed install of kubernetes +# after this run the standard oom install +# this installation can be run on amy ubuntu 16.04 VM or physical host +# https://wiki.onap.org/display/DW/ONAP+on+Kubernetes +# source from https://jira.onap.org/browse/OOM-715 +# Michael O'Brien +# +# 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.10, Kubectl 1.8.10, Helm 2.8.2, Docker 17.03 +# run as root - because of the logout that would be required after the docker user set + +usage() { +cat <