Wednesday, 2021-06-02

*** kata-irc-bot has quit IRC00:13
*** kata-irc-bot has joined #kata-general00:13
kata-irc-bot<santhosh.parampottupa> Hi  Team, Unable to run a nginx app with Kata runtime in single node k8s cluster, Please help  I am a beginner to Kata and K8s, but i tried to follow the tutorials and created a single node k8s cluster with Kata run time following the below configuration files. `$ kubectl apply -f https://raw.githubusercontent.com/kata-containers/packaging/master/kata-deploy/kata-rbac/base/kata-rbac.yaml` `$ kubectl apply -f11:16
kata-irc-bothttps://raw.githubusercontent.com/kata-containers/packaging/master/kata-deploy/kata-deploy/base/kata-deploy.yaml`  and few logs are given below.  `s669m@e132-pc05:~$ microk8s.kubectl get nodes --show-labels` `NAME               STATUS  ROLES  AGE  VERSION  LABELS` `e132-pc05.ad.xx.xx.  Ready  <none>  25h  v1.18.1811:16
kata-irc-botbeta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,katacontainers.io/kata-runtime=true,kubernetes.io/arch=amd64,kubernetes.io/hostname=e132-pc05.ad.xx.xx,kubernetes.io/os=linux,microk8s.io/cluster=true`  Now I tried to run a nginx server with Kata run time in my k8s, But i am facing below error.  `s669m@e132-pc05:~$ microk8s.kubectl exec -it nginx-untrusted -- cat /proc/version` `Error from server (BadRequest): pod nginx-untrusted does11:16
kata-irc-botnot have a host assigned`  My nginx-untrusted.yaml is given below  `apiVersion: v1` `kind: Pod` `metadata:`  `annotations:`   `io.kubernetes.cri-o.TrustedSandbox: "false"`   `io.kubernetes.cri.untrusted-workload: "true"`  `name: nginx-untrusted` `spec:`  `containers:`  `- name: nginx`   `image: nginx`  `nodeSelector:` `  kata-containers.io/kata-runtime: "true"`    and Kata version is  `s669m@e132-pc05:~$ /opt/kata/bin/kata-runtime11:16
kata-irc-bot`kata-runtime : 1.12.0`   `commit  : 439d131e706e18018094bca48ae20adfa5d0fb7a`   `OCI specs: 1.0.1-dev`  Please help11:16
kata-irc-bot<santhosh.parampottupa> I tried this but its little complicated for my current knowledge,, what I am trying now is to run a simple app with Kata run time with single node k8s cluster… also thank you so much for the link…11:17
*** fuentess has joined #kata-general12:45
kata-irc-bot<adel.zalok.89> Hi @sunny  :slightly_smiling_face:,  qq, are the recording added only to https://www.google.com/url?q=https://etherpad.opendev.org/p/Kata_Containers_2021_Arc[…]alendar&ust=1623066672962000&usg=AOvVaw1lh0k2CsJxTRLB_YCdFEgx ? Was looking for recordings post 04.05.2021 and didn’t find any. Also what is the recordings password?13:01
*** devimc has joined #kata-general13:21
kata-irc-bot<eric.ernst> Santosh -- you *should* be able to drop the metadata annotations from your pod spec.13:46
kata-irc-bot<eric.ernst> And just specificy runtimeClassName instead13:46
kata-irc-bot<eric.ernst> ```apiVersion: v1 kind: Pod metadata:  name: nginx-untrusted spec:  containers:  - name: nginx    image: nginx  nodeSelector:   kata-containers.io/kata-runtime: "true"```13:47
kata-irc-bot<eric.ernst> Can you see if that works ^^ ?  Also, try without specifying runtimeClassName as well (ie, does a pod using runc work without issue):  ```apiVersion: v1 kind: Pod metadata:  name: nginx-untrusted spec:  containers:  - name: nginx    image: nginx```13:48
kata-irc-bot<eric.ernst> Welcome to Kata and Kubernetes :)13:48
*** fuentess has quit IRC13:56
*** fuentess has joined #kata-general14:03
kata-irc-bot<sunny> Hi @adel.zalok.89 sorry that I was a bit behind on adding the recordings. All the recordings are added now, and I’ve got rid of all the password requirement for the recordings post 04.05.2021. For the recordings before that, you can see the password under the recording link17:10
*** devimc has quit IRC21:28

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!