Error: could not find tiller

Hello,

I am trying to follow the Clara Deploy instructions to get the Deploy framework up and running.
I did the following on a DGX1:

$sudo ./scripts/install-prereq.sh

$sudo ./scripts/deploy.sh

All the layers were loaded, but at the end I got this error message:

===============

Loaded image: clara/clara-dashboard:0.1.8
2019-07-11 03:32:02 [INFO]: Clara Containers loaded successfully
2019-07-11 03:32:02 [INFO]: Starting Clara Core and DICOM Server…

Error: could not find tiller

2019-07-11 03:32:02 [INFO]: Clara Deploy SDK v0.1.8 installed and started successfully.

===============

So it seems like tiller could not be found, but Clara Deploy SDK still decided it was started successfully.
However, when I run

$ sudo kubectl get services

I cannot see clara in there. Only kubernetes:

===================

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 443/TCP 33m

===================

Have anyone encountered similar issues with not being able to find tiller?

Thank you for your assistance.

Hi
Thanks for your interest in Clara deploy SDK.

I would like to let you know that the new clara deploy sdk R3 is now avalible on NGC https://ngc.nvidia.com/catalog/model-scripts/nvidia:clara_deploy_sdk we recommend you try the new release as it has more features and better/easier UI. docker images are tagged 0.2.0

What you are facing is an issue with the pre-req installation bug in clara sdk 0.1.6. I see you got the 0.1.8 but it seems you should run the install script first then start over. Also be sure to remove old docker images

docker image ls | grep clara --> you should not see 0.1.6  or 0.1.8 anymore 
docker rmi <imagename>:<tag>

Hi aharouni,

Thanks for your help and apology for the late reply. I will give the new version a try!

Cheers,
Andy

[quote=“aharouni”]
Hi
Thanks for your interest in Clara deploy SDK.

I would like to let you know that the new clara deploy sdk R3 is now avalible on NGC https://ngc.nvidia.com/catalog/model-scripts/nvidia:clara_deploy_sdk we recommend you try the new release as it has more features and better/easier UI. docker images are tagged 0.2.0

What you are facing is an issue with the pre-req installation bug in clara sdk 0.1.6. I see you got the 0.1.8 but it seems you should run the install script first then start over. Also be sure to remove old docker images

docker image ls | grep clara --> you should not see 0.1.6  or 0.1.8 anymore 
docker rmi <imagename>:<tag>

[/quote

hp@hp-desktop:~/clara-sdk$ sudo ./scripts/deploy.sh
[sudo]
 password di hp: 
2019-11-10 08:17:29 [INFO]: Installing Clara Deploy SDK v0.2.0...
2019-11-10 08:17:29 [INFO]: Loading Clara Containers
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-argo-controller-0.2.0.tar...
a2e66f6c6f5f: Loading layer [==================================================>]  105.5MB/105.5MB
26be4cf525c7: Loading layer [==================================================>]  39.89MB/39.89MB
Loaded image: clara/argo-controller:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-argoui-0.2.0.tar...
7cbcbac42c44: Loading layer [==================================================>]   5.05MB/5.05MB
071ed2bba9a5: Loading layer [==================================================>]  47.85MB/47.85MB
4b686c469491: Loading layer [==================================================>]  4.582MB/4.582MB
68e7131147c0: Loading layer [==================================================>]  141.5MB/141.5MB
Loaded image: clara/argoui:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-ai-livertumor-0.2.0.tar...
0de2edf7bff4: Loading layer [==================================================>]  121.3MB/121.3MB
b2fd8b4c3da7: Loading layer [==================================================>]  15.87kB/15.87kB
f67191ae09b8: Loading layer [==================================================>]  11.78kB/11.78kB
68dda0c9a8cd: Loading layer [==================================================>]  3.072kB/3.072kB
d4a5a3584754: Loading layer [==================================================>]  268.3MB/268.3MB
3338a0ae698c: Loading layer [==================================================>]  3.072kB/3.072kB
b7fb0e336788: Loading layer [==================================================>]  13.38MB/13.38MB
5aa9597423cd: Loading layer [==================================================>]  1.536kB/1.536kB
486c4a786116: Loading layer [==================================================>]   2.56kB/2.56kB
ad912027ea44: Loading layer [==================================================>]  5.632kB/5.632kB
296659ab281e: Loading layer [==================================================>]  3.301MB/3.301MB
6373de4c7f14: Loading layer [==================================================>]  590.8kB/590.8kB
99716e8fe77c: Loading layer [==================================================>]  3.072kB/3.072kB
d49548f2794a: Loading layer [==================================================>]  1.244GB/1.244GB
3ddff94021f2: Loading layer [==================================================>]  11.78kB/11.78kB
Loaded image: clara/ai-livertumor:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-dicom-writer-0.2.0.tar...
77b3eca0995a: Loading layer [==================================================>]  59.82MB/59.82MB
3ba2c6b9f251: Loading layer [==================================================>]  1.536kB/1.536kB
4b8251f5cb9d: Loading layer [==================================================>]  3.072kB/3.072kB
0be81e555f5d: Loading layer [==================================================>]  26.62kB/26.62kB
424a7d4ae9f0: Loading layer [==================================================>]  355.2MB/355.2MB
49cbf40e53a6: Loading layer [==================================================>]  2.048kB/2.048kB
bbe3f8c86fe3: Loading layer [==================================================>]  3.584kB/3.584kB
Loaded image: clara/dicom-writer:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-clara-datasetservice-0.2.0.tar...
02571d034293: Loading layer [==================================================>]  72.32MB/72.32MB
270f934787ed: Loading layer [==================================================>]  15.87kB/15.87kB
8d267010480f: Loading layer [==================================================>]  3.072kB/3.072kB
aa99bd635ee7: Loading layer [==================================================>]  150.5MB/150.5MB
f2b0b13e1e02: Loading layer [==================================================>]  11.03MB/11.03MB
6c0311996cc1: Loading layer [==================================================>]  1.536kB/1.536kB
f1b81aeddd26: Loading layer [==================================================>]  1.536kB/1.536kB
b36e78603a3c: Loading layer [==================================================>]  80.38kB/80.38kB
a1115ec2cb86: Loading layer [==================================================>]  11.26kB/11.26kB
5de476b6a1a2: Loading layer [==================================================>]  19.97kB/19.97kB
3431b5b6baa3: Loading layer [==================================================>]   2.56kB/2.56kB
a31ca8acc432: Loading layer [==================================================>]  262.1kB/262.1kB
626b1fe07e17: Loading layer [==================================================>]  86.97MB/86.97MB
Loaded image: clara/clara-datasetservice:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-trtis-0.2.0.tar.gz...
ca9158cc78ee: Loading layer [==================================================>]  18.37MB/18.37MB
64aa62b05823: Loading layer [==================================================>]  29.18kB/29.18kB
acd08f29e485: Loading layer [==================================================>]  36.86kB/36.86kB
4ed6a17d08ea: Loading layer [==================================================>]    638MB/638MB
705a2cfbfa93: Loading layer [==================================================>]  16.38kB/16.38kB
5034bb07aa02: Loading layer [==================================================>]  3.072kB/3.072kB
62d205c410a0: Loading layer [==================================================>]  6.656kB/6.656kB
afdadcf010b7: Loading layer [==================================================>]  642.8MB/642.8MB
23dc703f2851: Loading layer [==================================================>]  1.536kB/1.536kB
3c3c971f61ca: Loading layer [==================================================>]  17.41kB/17.41kB
1f7d457a76a5: Loading layer [==================================================>]  3.072kB/3.072kB
ae8450d703a8: Loading layer [==================================================>]  627.2kB/627.2kB
b1162a82da8a: Loading layer [==================================================>]  4.608kB/4.608kB
a6b4a1d87226: Loading layer [==================================================>]  256.2MB/256.2MB
a611e58bcf63: Loading layer [==================================================>]  4.818MB/4.818MB
93b9d22bf47c: Loading layer [==================================================>]  1.987MB/1.987MB
1c8539cb276e: Loading layer [==================================================>]  14.04MB/14.04MB
3f7385e6dce9: Loading layer [==================================================>]  36.86kB/36.86kB
4d14520482e1: Loading layer [==================================================>]  3.584kB/3.584kB
1b10df1269e6: Loading layer [==================================================>]  224.7MB/224.7MB
8c500b846b73: Loading layer [==================================================>]  344.1kB/344.1kB
b8751854dd45: Loading layer [==================================================>]  26.13MB/26.13MB
11f3d0711da3: Loading layer [==================================================>]  2.048kB/2.048kB
a8bac3e6d2d8: Loading layer [==================================================>]  4.096kB/4.096kB
eff729cf1ccb: Loading layer [==================================================>]  14.34kB/14.34kB
69a93052efae: Loading layer [==================================================>]  14.34kB/14.34kB
534204ad855e: Loading layer [==================================================>]  6.144kB/6.144kB
d39d9b118255: Loading layer [==================================================>]  844.7MB/844.7MB
a70d57dad999: Loading layer [==================================================>]   1.64GB/1.64GB
b5e66d18f345: Loading layer [==================================================>]  7.168kB/7.168kB
Loaded image: clara/trtis:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-argoexec-0.2.0.tar...
8b15606a9e3e: Loading layer [==================================================>]  58.44MB/58.44MB
2187bfe78a15: Loading layer [==================================================>]  150.6MB/150.6MB
67749cc1c417: Loading layer [==================================================>]  81.39MB/81.39MB
71f14d3bd90a: Loading layer [==================================================>]  43.72MB/43.72MB
Loaded image: clara/argoexec:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-clara-dashboard-0.2.0.tar...
f1b5933fe4b5: Loading layer [==================================================>]  5.796MB/5.796MB
4c299e1e70d5: Loading layer [==================================================>]  63.77MB/63.77MB
28bf756b6f8e: Loading layer [==================================================>]  5.125MB/5.125MB
a157cd3680dc: Loading layer [==================================================>]   2.56kB/2.56kB
248126a95a38: Loading layer [==================================================>]  16.62MB/16.62MB
abff32e3800b: Loading layer [==================================================>]  5.632kB/5.632kB
4a5c44e88793: Loading layer [==================================================>]  9.216kB/9.216kB
920c9d3ed355: Loading layer [==================================================>]  13.31kB/13.31kB
f81267cff564: Loading layer [==================================================>]  473.6kB/473.6kB
932ca8abab42: Loading layer [==================================================>]  1.792MB/1.792MB
9dfe731af26a: Loading layer [==================================================>]  34.82kB/34.82kB
2fd2d1cfb095: Loading layer [==================================================>]  142.3MB/142.3MB
e76113ab6bc4: Loading layer [==================================================>]  87.97MB/87.97MB
Loaded image: clara/clara-dashboard:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-renderserver_ng-0.2.0.tar...
becec4c05380: Loading layer [==================================================>]  16.51MB/16.51MB
fcd654f1dc27: Loading layer [==================================================>]  29.75MB/29.75MB
c890837d995f: Loading layer [==================================================>]  3.072kB/3.072kB
cb509fed0a31: Loading layer [==================================================>]  1.536kB/1.536kB
b5e984a2536a: Loading layer [==================================================>]  21.88MB/21.88MB
4f85038c2498: Loading layer [==================================================>]  12.44MB/12.44MB
Loaded image: clara/renderserver_ng:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-register-results-0.2.0.tar...
8cec11e3dff0: Loading layer [==================================================>]  818.7kB/818.7kB
7f61afcc4a4d: Loading layer [==================================================>]  77.67MB/77.67MB
0db5724f9017: Loading layer [==================================================>]  4.608kB/4.608kB
5191bfc553a0: Loading layer [==================================================>]  6.482MB/6.482MB
cbb30b86fef3: Loading layer [==================================================>]  1.536kB/1.536kB
bd92f722269e: Loading layer [==================================================>]     64kB/64kB
4d90ba0dbbae: Loading layer [==================================================>]  2.582MB/2.582MB
3d7b6f040df4: Loading layer [==================================================>]  35.58MB/35.58MB
bf25bd09775b: Loading layer [==================================================>]  9.191MB/9.191MB
Loaded image: clara/register-results:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-dicomadapter-0.2.0.tar...
d9ff549177a9: Loading layer [==================================================>]  4.671MB/4.671MB
56423c7b211d: Loading layer [==================================================>]  10.34MB/10.34MB
04c2162b209c: Loading layer [==================================================>]  74.68MB/74.68MB
587b30a0cde5: Loading layer [==================================================>]  1.394MB/1.394MB
698c81debd6f: Loading layer [==================================================>]  137.1MB/137.1MB
Loaded image: clara/dicomadapter:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-recon-operator-0.2.0.tar...
739482a9723d: Loading layer [==================================================>]  122.9MB/122.9MB
e15278fcccca: Loading layer [==================================================>]  15.87kB/15.87kB
49652298c779: Loading layer [==================================================>]  11.78kB/11.78kB
4c54072a5034: Loading layer [==================================================>]  3.072kB/3.072kB
0e072954e6c4: Loading layer [==================================================>]   16.9MB/16.9MB
1081b68dae7e: Loading layer [==================================================>]  29.68MB/29.68MB
1941b181b493: Loading layer [==================================================>]  3.072kB/3.072kB
a9264b886778: Loading layer [==================================================>]  1.536kB/1.536kB
bc27ddebe1e0: Loading layer [==================================================>]  33.33MB/33.33MB
a2af02b97439: Loading layer [==================================================>]  2.048kB/2.048kB
e4c184422fd7: Loading layer [==================================================>]  7.926MB/7.926MB
0d1e31b334ac: Loading layer [==================================================>]  207.8MB/207.8MB
c2bd93c7a631: Loading layer [==================================================>]  2.048kB/2.048kB
c09681a1c126: Loading layer [==================================================>]  207.8MB/207.8MB
7c1e4dd8e2e4: Loading layer [==================================================>]  10.24kB/10.24kB
Loaded image: clara/recon-operator:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-app_base_inference-0.2.0.tar...
8fb7cf665287: Loading layer [==================================================>]  268.3MB/268.3MB
b34cab207f10: Loading layer [==================================================>]  3.072kB/3.072kB
c2104e3f6ab8: Loading layer [==================================================>]  13.38MB/13.38MB
e99e973f35a4: Loading layer [==================================================>]  1.536kB/1.536kB
243e58338d29: Loading layer [==================================================>]   2.56kB/2.56kB
426c468ee739: Loading layer [==================================================>]  5.632kB/5.632kB
9feac374de9e: Loading layer [==================================================>]  3.301MB/3.301MB
c197e0e2a5a9: Loading layer [==================================================>]  590.8kB/590.8kB
51a521064fdd: Loading layer [==================================================>]  3.072kB/3.072kB
7cd07b270dd0: Loading layer [==================================================>]  1.244GB/1.244GB
Loaded image: clara/app_base_inference:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-controller-0.2.0.tar...
cbb30b86fef3: Loading layer [==================================================>]  1.536kB/1.536kB
af1cac7541f0: Loading layer [==================================================>]  11.03MB/11.03MB
Loaded image: clara/controller:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-ai-vnet-0.2.0.tar...
685a1fbf2e02: Loading layer [==================================================>]  48.15MB/48.15MB
e42bd855fa06: Loading layer [==================================================>]  13.39MB/13.39MB
98f8ffea2ba5: Loading layer [==================================================>]  1.536kB/1.536kB
52a5487ea84b: Loading layer [==================================================>]   2.56kB/2.56kB
f165cf80b050: Loading layer [==================================================>]  75.26kB/75.26kB
ee8ceb78bcad: Loading layer [==================================================>]  3.301MB/3.301MB
09c3b7aaba93: Loading layer [==================================================>]  491.5MB/491.5MB
Loaded image: clara/ai-vnet:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-platformapiserver-0.2.0.tar...
320e7cb2c224: Loading layer [==================================================>]  1.394MB/1.394MB
eeaadbf02a7e: Loading layer [==================================================>]  66.22MB/66.22MB
Loaded image: clara/platformapiserver:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-dicom-reader-0.2.0.tar...
d5ef472e586e: Loading layer [==================================================>]  3.584kB/3.584kB
Loaded image: clara/dicom-reader:0.2.0
 
Loading /home/hp/clara-sdk/scripts/../gems/clara-resultsservice-0.2.0.tar...
04c499aa9e42: Loading layer [==================================================>]  7.538MB/7.538MB
7edd4422876e: Loading layer [==================================================>]  74.68MB/74.68MB
4cf88309da5e: Loading layer [==================================================>]  7.305MB/7.305MB
ff58a31e3d81: Loading layer [==================================================>]  113.9MB/113.9MB
Loaded image: clara/resultsservice:0.2.0
2019-11-10 08:33:04 [INFO]: Clara Containers loaded successfully
2019-11-10 08:33:05 [INFO]: Copying the included AI models to directory: /clara/common...
2019-11-10 08:33:17 [INFO]: AI models copied successfully.
2019-11-10 08:33:17 [INFO]: Installing Clara CLI
2019-11-10 08:33:42 [INFO]: Clara CLI installed successfully
2019-11-10 08:33:42 [INFO]: Starting Clara...
 
Error: could not find tiller
Usage:
  clara start [flags]

Flags:
  -h, --help   help for start

Global Flags:
      --config string   config file (default is $HOME/.clara/config.yaml)

could not find tiller

Here cannot find tiller even if it installed

hp@hp-desktop:~/clara-sdk$ sudo kubectl get services
[sudo] password di hp: 
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.96.0.1    <none>        443/TCP   22m
hp@hp-desktop:~/clara-sdk$ docker image ls | grep clara 
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/json: dial unix /var/run/docker.sock: connect: permission denied
hp@hp-desktop:~/clara-sdk$ sudo docker image ls | grep clara 
clara/ai-livertumor                  0.2.0               7562ad4da7f5        4 months ago        1.62GB
clara/app_base_inference             0.2.0               d3acb028127e        4 months ago        1.62GB
clara/clara-dashboard                0.2.0               f8fb31aec950        4 months ago        293MB
clara/clara-datasetservice           0.2.0               db79de506bad        4 months ago        314MB
clara/renderserver_ng                0.2.0               6d2b1ff7fa61        4 months ago        149MB
clara/dicom-writer                   0.2.0               603830ba77cb        4 months ago        525MB
clara/ai-vnet                        0.2.0               42c1a1db77e8        4 months ago        668MB
clara/dicom-reader                   0.2.0               a2df0db91524        4 months ago        525MB
clara/recon-operator                 0.2.0               4d17471bd145        4 months ago        620MB
clara/dicomadapter                   0.2.0               e58e4ec8a8fc        4 months ago        226MB
clara/platformapiserver              0.2.0               2ee93cbfdbc3        4 months ago        156MB
clara/resultsservice                 0.2.0               843eb1163421        4 months ago        206MB
clara/controller                     0.2.0               c43ca37ac1d4        4 months ago        99.1MB
clara/register-results               0.2.0               f8b4825c27f8        4 months ago        132MB
clara/argoui                         0.2.0               069f1955f3fc        6 months ago        184MB
clara/trtis                          0.2.0               80a21438f599        8 months ago        4.42GB
clara/argoexec                       0.2.0               0857e3f49e65        13 months ago       328MB
clara/argo-controller                0.2.0               abcb0c0ba87c        13 months ago       140MB

hp@hp-desktop:~/clara-sdk$ which tiller
/usr/local/bin/tiller
helm lshp@hp-desktop:~$ helm ls
Error: could not find tiller
hp@hp-desktop:~$ kubectl get pods
No resources found in default namespace.
hp@hp-desktop:~$     clara render start
Error: could not find tiller
Usage:
  render start [flags]

Flags:
  -h, --help   help for start

Global Flags:
      --config string   config file (default is $HOME/.clara/config.yaml)

could not find tiller

Hi,

Looks like the install-prereqs step didn’t complete successfully. can you uninstall-prereqs and redo the install-prereq step?

[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
[control-plane] Creating static Pod manifest for "kube-scheduler"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.
[apiclient] All control plane components are healthy after 41.511374 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
[kubelet] Creating a ConfigMap "kubelet-config-1.16" in namespace kube-system with the configuration for the kubelets in the cluster
[upload-certs] Skipping phase. Please see --upload-certs
[mark-control-plane] Marking the node hp-desktop as control-plane by adding the label "node-role.kubernetes.io/master=''"
[mark-control-plane] Marking the node hp-desktop as control-plane by adding the taints [node-role.kubernetes.io/master:NoSchedule]
[bootstrap-token] Using token: jv7lkm.09eltx11ogbpk7kg
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
[bootstrap-token] configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
[bootstrap-token] configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
[bootstrap-token] configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
[bootstrap-token] Creating the "cluster-info" ConfigMap in the "kube-public" namespace
[addons] Applied essential addon: CoreDNS
[addons] Applied essential addon: kube-proxy

Your Kubernetes control-plane has initialized successfully!

To start using your cluster, you need to run the following as a regular user:

  mkdir -p $HOME/.kube
  sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
  sudo chown $(id -u):$(id -g) $HOME/.kube/config

You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
  https://kubernetes.io/docs/concepts/cluster-administration/addons/

Then you can join any number of worker nodes by running the following on each as root:

kubeadm join 192.168.1.9:6443 --token jv7lkm.09eltx11ogbpk7kg \
    --discovery-token-ca-cert-hash sha256:aff96531eafe95dddd3992ec6b3d0cdfd2a64841dd93e88b254c42fa44de1706 
2019-11-10 20:14:20 [INFO]: Deploy kubernetes pod network.
clusterrole.rbac.authorization.k8s.io/flannel created
clusterrolebinding.rbac.authorization.k8s.io/flannel created
serviceaccount/flannel created
configmap/kube-flannel-cfg created
unable to recognize "/home/hp/clara-sdk/scripts/kube-flannel.yml": no matches for kind "PodSecurityPolicy" in version "extensions/v1beta1"
unable to recognize "/home/hp/clara-sdk/scripts/kube-flannel.yml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
unable to recognize "/home/hp/clara-sdk/scripts/kube-flannel.yml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
unable to recognize "/home/hp/clara-sdk/scripts/kube-flannel.yml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
unable to recognize "/home/hp/clara-sdk/scripts/kube-flannel.yml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
unable to recognize "/home/hp/clara-sdk/scripts/kube-flannel.yml": no matches for kind "DaemonSet" in version "extensions/v1beta1"

Seems that problem worsen

Hello there,

Can you check the version of Kubernetes installed? If it is v1.16, this is not actually supported yet and would cause the issue you reported. If you can run the uninstall-prereq.sh, then install v1.15 of Kubernetes and then try the install-prereqs again that should resolve the issue.

Seem impossible to install sudo apt install kubeadm=version1.15

sudo apt-get update
sudo apt-get install -y kubelet=1.15.4-00 kubeadm=1.15.4-00 kubectl=1.15.4-00

Hope this works!

if apt attempts to upgrade those packages, should I prevent to allow it?

After installing kube v 1.15, install-req and clara deploy.sh

Loading /home/hp/clara-sdk/scripts/../gems/clara-resultsservice-0.2.0.tar...
Loaded image: clara/resultsservice:0.2.0
2019-11-15 13:44:25 [INFO]: Clara Containers loaded successfully
2019-11-15 13:44:25 [INFO]: Copying the included AI models to directory: /clara/common...
2019-11-15 13:44:29 [INFO]: AI models copied successfully.
2019-11-15 13:44:29 [INFO]: Installing Clara CLI
chown: impossibile accedere a '/home/hp/.kube': File o directory non esistente

helm ls
Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused
hp@hp-desktop:~/clara-sdk$ kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?

Suppose that should manually set some settings

If it’s trying to update to a later 1.15.xx that’s okay but for anything >=1.16 then decline.

Thanks everyone for your help!!
I’d just like to report that my issue went away after using the newest Clara Deploy version.
Thanks!

kubernetes v1.16 is not compatible with the install-prereqs.sh file. You have to assign the version of kubernetes in the install-prereqs.sh file as:

if ! sudo apt-get install -y kubelet=1.15.6-00 kubeadm=1.15.6-00 kubectl=1.15.6-00; then
        fatal "There were failures trying to install Kubernetes."
    fi