Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-219

Helm 2.3.0 instructions required for 1.1/master

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Highest Highest
    • None
    • None
    • None
    • None

       installing helm (use 2.3 not 2.6)

      https://github.com/kubernetes/helm/releases

      https://docs.helm.sh/using_helm/#installing-helm

       

      working

      wget http://storage.googleapis.com/kubernetes-helm/helm-v2.3.0-linux-amd64.tar.gz
      tar -zxvf helm-v2.3.0-linux-amd64.tar.gz
      mv linux-amd64/helm /usr/local/bin/helm
      cd oom/kubernetes/oneclick/
      root@obrien-kube11-1:~/oom/kubernetes/oneclick# ./createAll.bash -n onap -a robot
      
      ********** Creating instance 1 of ONAP with port range 30200 and 30399
      
      ********** Creating ONAP:
      
      ********** Creating deployments for robot **********
      
      Creating namespace **********
      namespace "onap-robot" created
      
      Creating registry secret **********
      secret "onap-docker-registry-key" created
      
      Creating deployments and services **********
      NAME: robot
      LAST DEPLOYED: Mon Aug 28 14:41:46 2017
      NAMESPACE: onap
      STATUS: DEPLOYED
      
      RESOURCES:
      ==> v1/Service
      NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
      robot 10.43.105.76 <nodes> 88:30209/TCP 0s
      
      ==> extensions/v1beta1/Deployment
      NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
      robot 1 1 1 0 0s
      
      **** Done ****
      root@obrien-kube11-1:~/oom/kubernetes/oneclick# kubectl get services --all-namespaces
      NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
      default kubernetes 10.43.0.1 <none> 443/TCP 3d
      kube-system heapster 10.43.49.193 <none> 80/TCP 3d
      kube-system kube-dns 10.43.0.10 <none> 53/UDP,53/TCP 3d
      kube-system kubernetes-dashboard 10.43.18.115 <none> 9090/TCP 3d
      kube-system monitoring-grafana 10.43.204.62 <none> 80/TCP 3d
      kube-system monitoring-influxdb 10.43.78.127 <none> 8086/TCP 3d
      kube-system tiller-deploy 10.43.65.199 <none> 44134/TCP 3d
      onap-robot robot 10.43.105.76 <nodes> 88:30209/TCP 1m
      root@obrien-kube11-1:~/oom/kubernetes/oneclick# kubectl get pods --all-namespaces
      NAMESPACE NAME READY STATUS RESTARTS AGE
      kube-system heapster-4285517626-lzfg9 1/1 Running 0 3d
      kube-system kube-dns-646531078-7h2qt 3/3 Running 0 3d
      kube-system kubernetes-dashboard-716739405-1smjd 1/1 Running 0 3d
      kube-system monitoring-grafana-3552275057-6ldnd 1/1 Running 0 3d
      kube-system monitoring-influxdb-4110454889-vxw09 1/1 Running 0 3d
      kube-system tiller-deploy-737598192-9zljl 1/1 Running 0 3d
      onap-robot robot-2594569160-lw5rt 0/1 ContainerCreating 0 1m

      not working

      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
      mv linux-amd64/helm /usr/local/bin/helm
      helm help
      
      root@obrien-kube11-1:~/oom/kubernetes/oneclick# ./createAll.bash -n onap -a robot
      
      ********** Creating instance 1 of ONAP with port range 30200 and 30399
      
      ********** Creating ONAP:
      
      
      ********** Creating deployments for robot **********
      
      Creating namespace **********
      Error from server (AlreadyExists): namespaces "onap-robot" already exists
      
      Creating registry secret **********
      Error from server (AlreadyExists): secrets "onap-docker-registry-key" already exists
      
      Creating deployments and services **********
      Error: incompatible versions client: v2.6.0 server: v2.3.0

       details

      when doing a createAll we get helm errors - LIkely I need some extra config not yet documented

      Creating namespace **********
      namespace "onap-sdc" created

      Creating registry secret **********
      secret "onap-docker-registry-key" created

      Creating deployments and services **********
      ./createAll.bash: line 28: helm: command not found

       

       

      need to update rancher and install helm

       

      root@obrien-kube11-1:~/oom/kubernetes# cat README_HELM
      Prerequisites:

      • K8s
      • Helm

      In order to use Helm with Rancher, check the tiller version installed
      by runing "helm version" on the ranchr CLI
      and install the appropriate Helm.
      Notice both tiller and helm are installed,
      but you will need to install on your VM.

      charts were tested with the following setup:
      Rancher Release v1.6.7
      k8s version 1.7.2
      Helm/Tiller version v2.3.0
      also tested on:
      k8s version v1.5.2
      Helm/Tiller v2.6.0

      Download Helm:
      https://github.com/kubernetes/helm

            michaelobrien michaelobrien
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: