stern
Monokle
stern | Monokle | |
---|---|---|
16 | 47 | |
2,796 | 1,533 | |
2.9% | 2.6% | |
6.0 | 9.6 | |
7 days ago | 15 days ago | |
Go | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stern
-
☸️ Kubernetes: From your docker-compose file to a cluster with Kompose
deploy: stage: deploy image: alpine/k8s:1.29.1 variables: NAMESPACE: $CI_COMMIT_REF_SLUG before_script: # init namespace - kubectl config use-context $KUBE_CONTEXT - kubectl create namespace $NAMESPACE || true # download tools - curl --show-error --silent --location https://github.com/stern/stern/releases/download/v1.22.0/stern_1.22.0_linux_amd64.tar.gz | tar zx --directory /usr/bin/ stern && chmod 755 /usr/bin/stern && stern --version - curl --show-error --silent --location https://github.com/kubernetes/kompose/releases/download/v1.32.0/kompose-linux-amd64 -o /usr/local/bin/kompose && chmod a+x /usr/local/bin/kompose && kompose version # show logs asynchronously. Timeout to avoid hanging indefinitely when an error occurs in script section - timeout 1200 stern -n $NAMESPACE "app-" --tail=0 --color=always & # in background, tail new logs if any (current and incoming) pod with this regex as name - timeout 1200 kubectl -n $NAMESPACE get events --watch-only & # in background, tail new events in background script: # first delete CrashLoopBackOff pods, polluting logs - kubectl -n $NAMESPACE delete pod `kubectl -n $NAMESPACE get pods --selector app.kubernetes.io/component=$MODULE | awk '$3 == "CrashLoopBackOff" {print $1}'` || true # now deploying - kompose convert --out k8s/ - kubectl apply -n $NAMESPACE -f k8s/ - echo -e "\e[93;1mWaiting for the new app version to be fully operational...\e[0m" # waiting for successful deployment - kubectl -n $NAMESPACE rollout status deploy/app-db - kubectl -n $NAMESPACE rollout status deploy/app-back - kubectl -n $NAMESPACE rollout status deploy/app-front # on any error before this line, the script will still wait for these threads to complete, so the initial timeout is important. Adding these commands to after_script does not help - pkill stern || true - pkill kubectl || true after_script: # show namespace content - kubectl config use-context $KUBE_CONTEXT - kubectl -n $NAMESPACE get deploy,service,ingress,pod
-
stern VS stern - a user suggested alternative
2 projects | 11 Dec 2023
The old repo is dead
-
🦊 GitLab CI: 10+ Best Practices to Avoid Widespread Anti-patterns
node-and-git: image: node:18.10-alpine before_script: - apk --no-cache add git kubectl-and-stern: image: alpine/k8s:1.22.13 before_script: # install stern - curl --show-error --silent --location https://github.com/stern/stern/releases/download/v1.22.0/stern_1.22.0_linux_amd64.tar.gz | tar zx --directory /usr/bin/ stern && chmod 755 /usr/bin/stern playwright-and-kubectl: image: mcr.microsoft.com/playwright:v1.35.1-focal before_script: # install kubectl - curl --show-error --silent --location --remote-name https://storage.googleapis.com/kubernetes-release/release/v1.25.3/bin/linux/amd64/kubectl && chmod +x ./kubectl && mv ./kubectl /usr/local/bin/
-
K9s: A lazier way to manage Kubernetes Clusters
I'll add stern (https://github.com/stern/stern) to that - follow logs from multiple pods easily.
-
What k8s related tool you wish you knew earlier?
Multi pod and container log tailing for Kubernetes https://github.com/stern/stern
- What's your "IDE" of choice nowadays?
-
How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2
stern v1.22.0
-
Getting started with kubectl plugins
Link to GitHub Repository
-
Julia Evans: Tips for Analyzing Logs
If you are using Kubernetes, I highly recommend using https://github.com/stern/stern
-
What daily terminal based tools are you using for cluster management?
Stern: https://github.com/stern/stern for log streaming
Monokle
-
Another YAML/Helm-Loving Monokle release
Download from GitHub - https://github.com/kubeshop/monokle
-
Generate Kubernetes resources using AI & explore Helm Charts with Monokle v2.2!
Thank you for your kind words Fluffer Wuffer! We always enjoy feature requests from the community. I’ve added a GitHub issue for NetworkPolicy Builder. Feel free to add more details.
-
What k8s related tool you wish you knew earlier?
Try out Monokle—a Kubernetes configuration tool that provides end-to-end visibility, templating, quick error detection, and simplified troubleshooting. It also has a cluster insights module that allows you to connect to your cluster, and see resources, logs, and terminals, along with other things.
-
[TechStory]: Migrating services and databases from an OpenShift (or K8s) cluster to another
monokle
-
Stupid question? Lens vs OpenLens vs Monokle
Monokle Desktop is an independent project created by Kubeshop, fully open source: https://monokle.io/
-
Monokle 2.1 - We love YAML so you don't have to
Hi! hm... we would have to look into that - please open an issue on our repo with additional details around workflows/problems that we should be solving for in this regard - https://github.com/kubeshop/monokle - thank you!
-
How to scan and control the K8 objects are being created against security threats?
Monokle is another viable option for doing this pre-deployment. It has OPA functionality integrated so you set up and configure additional policies to be checked earlier in your workflow. It also helps with other pre-deployment validation issues. The performance was a bit off for a while but seems they've been working on it as of late.
-
Solving Challenges of Kubernetes YAML Manifest using Monokle
Monokle is an open-source IDE for Kubernetes. You can import existing infrastructure code or start fresh with your configuration. Monokle comes as a standalone desktop app, CLI as well as a cloud offering.
-
How do you start your resource manifests?
I would recommend trying out Monokle because it’s a great tool for creating manifest files for Kubernetes. It offers several features that can help make the process of creating manifests much faster and easier.
-
Kubernetes cluster management with Monokle
We would love to have your input on all these things. We are actively talking to users to discuss use cases and problems that we can help to fix, and we are also establishing partnerships to make Monokle way more useful for your day to day work. You can contact us for a 30’ conversation or join our Discord channel, or you can directly open a new issue in GitHub to let us know what you think.
What are some alternatives?
kubetail - Bash script to tail Kubernetes logs from multiple pods at the same time
lens - Lens - The way the world runs Kubernetes
awesome-k8s-resources - A curated list of awesome Kubernetes tools and resources.
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
kail - kubernetes log viewer
octant - Highly extensible platform for developers to better understand the complexity of Kubernetes clusters.
cw - The best way to tail AWS CloudWatch Logs from your terminal
OpenLens - OpenLens Binary Build Repository
openlens-node-pod-menu - Node and pod menus for OpenLens
metalk8s - An opinionated Kubernetes distribution with a focus on long-term on-prem deployments
saw - Fast, multi-purpose tool for AWS CloudWatch Logs
kubeapps - A web-based UI for deploying and managing applications in Kubernetes clusters