Questions tagged [katacoda]

Katacoda is an interactive learning and training platform for software developers. It provides a platform to build live interactive demo and training environments.

Katacoda is an online interactive learning and training platform for software developers. Each student is given access to a new environment without the need to install all the required component by themselves.

Getting started

24 questions
5
votes
2 answers

Extract lines from Kubernetes log

I'm new to kubernetes and am still trying to extract log from a few lines and write it, if anyone can help me what commands i should execute. If the pod is named bino, and i wanted to extract the lines corresponding to the error…
Tyler Blake
  • 53
  • 1
  • 1
  • 3
2
votes
1 answer

How to Execute Commands on Browser-based terminal IDE from a Markdown or Instructions manual

I am looking to do a cool project like Killercoda for a kids learning group where I expose VMs via browser access using terminal access such as code-server IDE or theia IDE (which killercoda uses). I am able to spin up the VMS using kubernetes pods…
sam hassan
  • 197
  • 3
  • 14
2
votes
1 answer

Is it safe to replace ReplicationController with Deployment

I am practicing katacoda k8s lesson with the knowledge from Stack Overflow. I had tried kill the pods by command line and the result of them are exactly the same with simple example. The pod will get recreated in several moment later after…
joe
  • 8,383
  • 13
  • 61
  • 109
2
votes
2 answers

Browser services' container in Docker Swarm mode

I've created 3 vm using docker-machine: docker-machine create -d virtualbox manager1 docker-machine create -d virtualbox worker1 docker-machine create -d virtualbox worker2 these are theirs ip: docker-machine ls NAME ACTIVE DRIVER …
pier92
  • 397
  • 1
  • 11
  • 26
1
vote
1 answer

How to create a Linux VM in GCP/Azure/AWS which can be accessed over a browser

I am working on a project where a user clicks a link/button that says Access VM on a webpage, it should internally spin up a Linux based VM (using GCP, AWS or Azure) and provide the VM terminal in a new browser tab for the user to play around in the…
1
vote
1 answer

The connection to the server localhost:8080 was refused - did you specify the right host or port. not able to figure out issue

In CKAD exam I have been asked to SSH to other node in cluster to do some kubectl operations like kubectl get all, though with that getting below: The connection to the server localhost:8080 was refused - did you specify the right host or…
Arpit Saklecha
  • 123
  • 1
  • 7
1
vote
1 answer

katacoda command not found

I'm trying to install the katacoda client. I used NPM to install it: npm install -g katacoda-cli The installation was successful but when I'm trying to run the katacoda help I've got the following error: command not found: katacoda. NPM installed…
mel
  • 25
  • 3
1
vote
1 answer

Kubeedge on Kataocoda - no matches for kind "Node" in version "v1"

I am following Kubeedge v1.0.0 deployment on Katacoda and on executing the following command. kubectl apply -f $GOPATH/src/github.com/kubeedge/kubeedge/build/node.json -s :8080 It gives me an error error: unable to…
1
vote
3 answers

POS Tagging in NLP

I am doing a course in NLTK Python which has a hands-on problem(on Katacoda) on "Text Corpora" and it is not accepting my solution mentioned below. Have been stuck on this problem since long. Need to complete this hands-on to proceed foreword in…
1
vote
1 answer

Do I need Namespace, Secret, ServiceAccount, and ConfigMap in my ingress.yaml?

I am practicing k8s from katacoda. Currently I am working on ingress.yaml. This is chapter has extra kind of services come to the yaml file. They are Namespace, Secret, ServiceAccount, and ConfigMap. For Secret I can read on other chapter to…
joe
  • 8,383
  • 13
  • 61
  • 109
1
vote
3 answers

Following Kubernetes using Katacoda

I am trying to follow tutorial of Kubernetes but I am kinda lost on first steps when trying to use Katacoda... When I just try to open minikube dashboard I encounter error: failed to open browser: exec: "xdg-open": executable file not found in…
Tomasz Kapłoński
  • 1,320
  • 4
  • 24
  • 49
1
vote
1 answer

Openshift deployment - fabric8 or template

I am new to openshift and was going through the interactive tutorialat https://learn.openshift.com/middleware/fis-deploy-app/. This tutorial uses the source code from https://github.com/jbossdemocentral/katacoda-fuse-getting-started.git and builds…
jack
  • 803
  • 3
  • 15
  • 26
0
votes
1 answer

Why is Kubernetes pod failing to start?

I was trying to test one scenario where pod will mount a volume and it will try to write one file to it. Below mentioned yaml works fine when I exclude command and args. However with command and args it fails with "crashloopbackoff". The describe…
harsh
  • 3
  • 2
0
votes
1 answer

Katacoda Scenarios not recognizing open command in the terminal

I am learning to create my own scenario in katacoda. I want to open a file that I created in the katacoda editor, but it's not letting me use the open command in my background.sh file. This is what I have in it so far: touch my-project/new.py echo…
Samantha Garcia
  • 490
  • 6
  • 13
0
votes
1 answer

Katacode Traefik tutorial error - container not created

I am trying out the Katacoda playground for Load Balance Containers using Traefik - https://www.katacoda.com/courses/traefik/deploy-load-balancer: Here is the exact Docker compose script in the tutorial to start a Traefik node and 2 test…
Shankar
  • 2,625
  • 3
  • 25
  • 49
1
2