在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):keel-hq/keel开源软件地址(OpenSource Url):https://github.com/keel-hq/keel开源编程语言(OpenSource Language):Go 75.3%开源软件介绍(OpenSource Introduction):Keel - automated Kubernetes deployments for the rest of us
Keel is a tool for automating Kubernetes deployment updates. Keel is stateless, robust and lightweight. Keel provides several key features:
SupportSupport Keel's development by:
Warp speed quick startTo achieve warp speed, we will be using sunstone.dev service and Minikube. Start Minikube: minikube start Install customized Keel (feel free to change credentials, namespace and version tag) straight from your # To override default latest semver tag, add &tag=x.x.x query argument to the URL below
kubectl apply -f https://sunstone.dev/keel?namespace=default&username=admin&password=admin&tag=latest
# and get Keel IP:
minikube service --namespace default keel --url
http://192.168.99.100:3199
Creating remotely accessible Keel instanceKeel can work together with webhook relay tunnels. To deploy Keel with Webhook Relay sidecar you will need to get a token, then pre-create a tunnel and:
Now, you can access Keel remotely. Helm quick startPrerequisites:
You need to add this Chart repo to Helm: helm repo add keel https://charts.keel.sh
helm repo update Install through Helm (with Helm provider enabled by default): helm upgrade --install keel --namespace=kube-system keel/keel If you work mostly with regular Kubernetes manifests, you can install Keel without Helm provider support: helm upgrade --install keel --namespace=keel keel/keel --set helmProvider.enabled="false" To install for Helm v3, set helmProvider.version="v3" (default is "v2"): helm install keel keel/keel --set helmProvider.version="v3" That's it, see Configuration section now. Quick StartA step-by-step guide to install Keel on your Kubernetes cluster is viewable on the Keel website: https://keel.sh/examples/#example-1-push-to-deploy ConfigurationOnce Keel is deployed, you only need to specify update policy on your deployment file or Helm chart: apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: wd
namespace: default
labels:
name: "wd"
annotations:
keel.sh/policy: minor # <-- policy name according to https://semver.org/
keel.sh/trigger: poll # <-- actively query registry, otherwise defaults to webhooks
spec:
template:
metadata:
name: wd
labels:
app: wd
spec:
containers:
- image: karolisr/webhook-demo:0.0.8
imagePullPolicy: Always
name: wd
command: ["/bin/webhook-demo"]
ports:
- containerPort: 8090 No additional configuration is required. Enabling continuous delivery for your workloads has never been this easy! DocumentationDocumentation is viewable on the Keel Website: https://keel.sh/docs/#introduction ContributingBefore starting to work on some big or medium features - raise an issue here so we can coordinate our efforts. We use pull requests, so:
Developing KeelIf you wish to work on Keel itself, you will need Go 1.12+ installed. Make sure you put Keel into correct Gopath and To test Keel while developing:
Running unit testsGet a test parser (makes output nice): go get github.com/mfridman/tparse To run unit tests: make test Running e2e testsPrerequisites:
Once prerequisites are ready: make e2e |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论