Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example on Katakoda seems pretty old and doesn't work #4693

Closed
alkdese opened this issue May 16, 2022 · 3 comments · Fixed by #4707
Closed

Example on Katakoda seems pretty old and doesn't work #4693

alkdese opened this issue May 16, 2022 · 3 comments · Fixed by #4707
Labels

Comments

@alkdese
Copy link

alkdese commented May 16, 2022

Wanted to understand how OPA works with k8s and the example reference on page https://www.openpolicyagent.org/docs/latest/kubernetes-introduction/ to
https://katacoda.com/austinheiman/scenarios/open-policy-agent-gatekeeper
uses 1.14 k8s and weave network plugin doesn't start correctly.
The controlplane node never gets into Ready state.

controlplane $ k get po
NAME                                       READY   STATUS             RESTARTS   AGE
coredns-fb8b8dccf-fhkqp                    0/1     Pending            0          114s
coredns-fb8b8dccf-sndtm                    0/1     Pending            0          114s
etcd-controlplane                          1/1     Running            0          66s
katacoda-cloud-provider-66bd4947d4-t7kx9   0/1     Pending            0          113s
kube-apiserver-controlplane                1/1     Running            0          65s
kube-controller-manager-controlplane       1/1     Running            0          52s
kube-proxy-wcfkn                           1/1     Running            0          114s
kube-scheduler-controlplane                1/1     Running            0          46s
weave-net-j62v7                            1/2     CrashLoopBackOff   4          114s
controlplane $ k logs weave-net-j62v7 -c weave
Network 10.32.0.0/24 overlaps with existing route 10.0.0.0/8 on host
controlplane $ k get no
NAME           STATUS     ROLES    AGE     VERSION
controlplane   NotReady   master   2m51s   v1.14.0
controlplane $ 

Network configuration

controlplane $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 02:42:0a:00:00:10 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.16/8 brd 11.255.255.255 scope global ens3
       valid_lft forever preferred_lft forever
    inet6 fe80::42:aff:fe00:10/64 scope link 
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:48:b1:9b:e4 brd ff:ff:ff:ff:ff:ff
    inet 172.18.0.1/24 brd 172.18.0.255 scope global docker0
       valid_lft forever preferred_lft forever
controlplane $ 
@alkdese alkdese added the bug label May 16, 2022
@anderseknert
Copy link
Member

Thanks for reporting! That does seem rather old and outdated — not to mention that it requires registration to even read. Probably best to just remove, or what do you think?

@peteroneilljr
Copy link
Member

Katacoda for the public is shutting down on June 15th and will be fully integrated into O'Reilly, so this course will likely be deleted at that point.

https://www.oreilly.com/online-learning/leveraging-katacoda-technology.html

The success has been so dramatic that we’ve decided to focus entirely on integrating Katacoda’s technology in new ways within our ecosystem. As a result, we can no longer support katacoda.com for public use, and we’ll be shuttering the site on June 15, 2022.

@anderseknert
Copy link
Member

Ah, yes, nothing spells dramatic success like shutting down :) I'll fix.

anderseknert added a commit to anderseknert/opa that referenced this issue May 24, 2022
Fixes open-policy-agent#4693

Signed-off-by: Anders Eknert <anders@eknert.com>
anderseknert added a commit that referenced this issue May 24, 2022
Fixes #4693

Signed-off-by: Anders Eknert <anders@eknert.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants