kubernetes
kine
Our great sponsors
kubernetes | kine | |
---|---|---|
522 | 10 | |
96,827 | 935 | |
1.5% | 4.4% | |
10.0 | 5.0 | |
6 days ago | 6 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
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.
kubernetes
-
How to configure apps that do not support env. vars?
So now I'm thinking ill have to do something similar to this, https://github.com/kubernetes/kubernetes/issues/57923, where I use an init container to copy the configmaps files, to another volume that I mount on the ActiveMQ container, and before launching activemq, Ill need to copy those files into place.
-
kube-dns keeps restarting with kubenetes on coreos
apiVersion: extensions/v1beta1kind: Deploymentmetadata: name: kube-dns namespace: kube-system labels: k8s-app: kube-dns kubernetes.io/cluster-service: "true"spec: strategy: rollingUpdate: maxSurge: 10% maxUnavailable: 0 selector: matchLabels: k8s-app: kube-dns template: metadata: labels: k8s-app: kube-dns annotations: scheduler.alpha.kubernetes.io/critical-pod: '' scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]' spec: containers: - name: kubedns image: gcr.io/google\_containers/kubedns-amd64:1.9 resources: limits: memory: 170Mi requests: cpu: 100m memory: 70Mi livenessProbe: httpGet: path: /healthz-kubedns port: 8080 scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 5 readinessProbe: httpGet: path: /readiness port: 8081 scheme: HTTP initialDelaySeconds: 3 timeoutSeconds: 5 args: - --domain=cluster.local. - --dns-port=10053 - --config-map=kube-dns # This should be set to v=2 only after the new image (cut from 1.5) has # been released, otherwise we will flood the logs. - --v=2 env: - name: PROMETHEUS\_PORT value: "10055" ports: - containerPort: 10053 name: dns-local protocol: UDP - containerPort: 10053 name: dns-tcp-local protocol: TCP - containerPort: 10055 name: metrics protocol: TCP - name: dnsmasq image: gcr.io/google\_containers/kube-dnsmasq-amd64:1.4.1 livenessProbe: httpGet: path: /healthz-dnsmasq port: 8080 scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 5 args: - --cache-size=1000 - --no-resolv - --server=127.0.0.1#10053 - --log-facility=- ports: - containerPort: 53 name: dns protocol: UDP - containerPort: 53 name: dns-tcp protocol: TCP # see: https://github.com/kubernetes/kubernetes/issues/29055 for details resources: requests: cpu: 150m memory: 10Mi - name: dnsmasq-metrics image: gcr.io/google\_containers/dnsmasq-metrics-amd64:1.0.1 livenessProbe: httpGet: path: /metrics port: 10054 scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 5 args: - --v=2 - --logtostderr ports: - containerPort: 10054 name: metrics protocol: TCP resources: requests: memory: 10Mi - name: healthz image: gcr.io/google\_containers/exechealthz-amd64:v1.2.0 resources: limits: memory: 50Mi requests: cpu: 10m memory: 50Mi args: - --cmd=nslookup kubernetes.default.svc.cluster.local 127.0.0.1 >/dev/null - --url=/healthz-dnsmasq - --cmd=nslookup kubernetes.default.svc.cluster.local 127.0.0.1:10053 >/dev/null - --url=/healthz-kubedns - --port=8080 - --quiet ports: - containerPort: 8080 protocol: TCP dnsPolicy: Default and this is my kube-dns-svc.yaml:
-
Reddit Releases Post Mortem for Its 3 Hour Outage Last Week
They've had since December 2020 to update their cluster, and the breaking-ness in 1.24 is called out in a section titled 'Urgent Update Notes'[0], and subtitled 'No, really, you MUST read this before you upgrade'.
So by 'word police' you mean 'admins who didn't bother to read the release notes for the last two years and just deployed straight to production while ignoring the release notes'.
Whatever your politics, breaking changes happen. Not reading the release notes and checking to see if anything affects you is just incompetence.
[0] https://github.com/kubernetes/kubernetes/blob/master/CHANGEL...
-
Gitea 1.19.0 is released!
On the bright side, it looks like this might happen eventually if Kubernetes support is ever implemented in act_runner. See act_runner issue #19 and act_runner issue #31.
-
What is the recommended way to upgrade a kubernetes cluster as new versions are released?
I heard here it may be https://github.com/kubernetes/kubernetes/blob/master/cluster/kube-push.sh. If that is the case how does kube-push.sh relate to https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/gce/upgrade.sh?
-
A Guide to DevSecOps with API Gateway
Use a container orchestration platform: Use a container orchestration platform such as Kubernetes to manage your infrastructure. Kubernetes provides a range of security features that can be used to secure your applications, infrastructure and manage the traffic to your containerized environment securely using Ingress Controller.
-
Does Go work well as a systems language?
You absolutely can write very high performance software in Go, that's kind of the point. You can efficiently interface with C libraries. You can create the sort of software everyone says should be done in Rust, like databases and web servers and system orchestration and games and every other goddamn thing that people will say isn't the right choice for Go.
-
Hasura: Building Scalable and Real-Time Applications - An Extensive Guide
If you're comfortable with Kubernetes, you can also deploy Hasura to a Kubernetes cluster. Hasura provides official Helm charts and Kubernetes manifests for deploying your application to Kubernetes.
-
What even is kubernetes?!?
Of course if you want to learn it and what you can do with it then you need to do the work and start with the documentation at https://kubernetes.io and probably read a book or two. There are also lots of Youtube videos, I seem to remember TechWorld with Nana being pretty good.
-
How to Create Kubernetes Clusters on AWS
Kubernetes is an open-source platform that is used for the automation and management of containerized software applications. It allows developers to deploy applications on multiple servers without worrying about the underlying infrastructure. It is owned by Google and was created in 2014 with the aim of managing cloud applications. It is currently maintained by the Cloud Native Computing Foundation (CNCF). Cloud platforms are various providers with both the hardware and operating system of web-based data centers. These cloud platforms are of different types and range from private servers to public cloud platforms, which are third-party providers. Examples of public cloud platforms are AWS, GCP, Microsoft Azure, and Digital Ocean.
kine
- K3s to Skill Up?
-
What is going on with Kubernetes Microdistros?
I don't like some of the decisions that k3s makes which is why I stay away from it, but it's a great project. I'm not using kine yet, but I fantasize about using it exclusively every time I deal with etcd-induced slowness/random CPU spikes on my group of controller nodes. k0s supports kine too of course but I just haven't switched it on yet.
-
Databases = Frameworks for Distributed Systems
Well in some situations you can also get away with CRDTs or Gossip (SWIM), but yeah in the general sense Paxos (Raft is a Paxos-family algo). There are lots of paxos family algos to choose from[0].
> I’m also currently building a distributed search engine using etcd for the service registry, broker peer announcements, and worker queue and it’s been a good experience so far.
As a random stranger on the internet, please build an abstraction layer around etcd. Even if there's only one implementation, I've found that so many distributed projects that just never reach the scale that etcd is built for would benefit from the option of writing their own drivers (you don't need a full plugin system just a regular abstraction layer).
One example is Kine[0] for k8s -- if k8s had a built in option for writing/reading from something like Postgres from the beginning it would have been a better project for it, IMO.
If you do build a plugin system though, you can pass off the work of maintaining the other implementations!
[0]: https://vadosware.io/post/paxosmon-gotta-concensus-them-all
-
K8s on Pg
I could spent >0s looking into this, but I've been curious how kline implements Etcd's Watch API. For the matter, I don't have much idea in general how kline handles data. Kline would be a great candidate for a blog post or introductory technical article on.
I do quickly see one issue- evidently watches presently use polling. The issue requests use of postgres triggers: https://github.com/k3s-io/kine/issues/20
-
Kubernetes but with Hashicorp Consul instead of ETCD for the control plane?
check out https://github.com/k3s-io/kine
- Building a bare-metal Kubernetes cluster on Raspberry Pi
- Rancher Desktop, a Docker Desktop Replacement
-
rqlite 6.0: the evolution of a distributed database design
Not to be mistaken for high-availability Dqlite[1], which is one of the options one can run the k3s kubernetes distribution on (instead of etcd), via the Kine etcd shim[2]. Ultimately though the K3s team replaced Dqlite with an embedded etcd to get high-availability[3].
[2] https://github.com/k3s-io/kine
[3] https://rancher.com/docs/k3s/latest/en/installation/ha-embed...
-
No one wants to manage Kubernetes anymore
Everything bad in my life involves etcd. I don't understand their obsession with it because there must be a better way
What are some alternatives?
Apache ZooKeeper - Apache ZooKeeper
Rundeck - Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
bosun - Time Series Alerting Framework
BOSH - Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.
Juju - Universal Operator Lifecycle Manager (OLM) for Kubernetes operators, and operators for traditional Linux apps, with declarative integration between operators for automated microservice integration.
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
Nomad - Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
consul - Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
gaia - Build powerful pipelines in any programming language.
Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
Portainer - Making Docker and Kubernetes management easy.
Vegeta - HTTP load testing tool and library. It's over 9000!