DEV Community

Scott
Scott

Posted on

3 1

Using KinD with Podman (kinp)

I've been using kind on ec2 for a while now because I was too lazy to work around issues I was having locally. I finally go around to writing a shell wrapper for kind today and would like to share.

If you have any issues please let me know!

Disclaimer: This has been tested to work on Fedora 33 only but should work on other systems (provided you have podman installed.

Install kinp

git clone https://github.com/rustysys-dev/kinp.git
cd kinp

# install main script to /usr/bin/kinp
# installs library script to /usr/lib/kinp/libkinp
sudo bash install
Enter fullscreen mode Exit fullscreen mode

Using kinp

kinp is used exactly as you would kind. That being said, kinp will download all dependencies before running (provided they do not already exist).

Dependencies include:

  • kubectl
  • kind
  • awscli (if AWS_ACCOUNT_ID env_var is set)

Create cluster

kinp create cluster
Enter fullscreen mode Exit fullscreen mode

Check cluster

kubectl get nodes
Enter fullscreen mode Exit fullscreen mode

Destroy cluster

kinp delete cluster
Enter fullscreen mode Exit fullscreen mode

Conclusion

There you have it Kubernetes in Podman! If you have any questions or comments please let me know!

Image of AssemblyAI tool

Transforming Interviews into Publishable Stories with AssemblyAI

Insightview is a modern web application that streamlines the interview workflow for journalists. By leveraging AssemblyAI's LeMUR and Universal-2 technology, it transforms raw interview recordings into structured, actionable content, dramatically reducing the time from recording to publication.

Key Features:
🎥 Audio/video file upload with real-time preview
🗣️ Advanced transcription with speaker identification
⭐ Automatic highlight extraction of key moments
✍️ AI-powered article draft generation
📤 Export interview's subtitles in VTT format

Read full post

Top comments (1)

Collapse
 
nikaskn profile image
Konstantinos N. Nikas

Thanks a lot, Scott!

Error message on wsl2(podman in ubuntu 20.04):

:/usr/share/containers/kinp$ kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?

What would you suggest?

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay