weaver icon indicating copy to clipboard operation
weaver copied to clipboard

extending k8s manifests

Open viggin543 opened this issue 2 years ago • 5 comments
trafficstars

Is it possible to integrate weaver with cloud-native tools ( like argocd , external DNS, sealed secrets ..... etc ) ?

for example:

  • consider a scenario where we need to add an annotation to a k8s service weaver generates .
  • or reverting the deployment using argocd ?
  • Or reading an env param, from a specific k8s secret?

viggin543 avatar Mar 10 '23 15:03 viggin543

I am also interested in this point, I would like to continue to use my general methods for deploying applications (via ArgoCD and other CI/CD systems)

In general, the main question is whether this system will work correctly if you run it in its own container or whether there are requirements for kubernetes settings.

batazor avatar Mar 19 '23 13:03 batazor

Hi @viggin543 and @batazor and all,

We implemented a vanilla Kubernetes deployer that enables to run Service Weaver applications in any Kubernetes environment.

The deployer will generate the yaml files for you, and then you can use kubectl apply to deploy the application. You can add annotations to the k8s services the weaver generates.

For cloud-native tools: We are considering using argo rollouts for traffic shifting.

Which CI/CD systems do you think there are the most popular, and the community would like weaver integration with?

rgrandl avatar Jun 16 '23 16:06 rgrandl

Hi @rgrandl , very cool. will check out the new deployer.

regarding the CI/CD tools

GitHub actions for sure.

viggin543 avatar Jun 16 '23 17:06 viggin543

@rgrandl We use Argo CD/Argo Rollout - it would be cool to have some base support for this GitOps system.

We use helm/kustomize to deploy from ArgoCD - I think k8s-manifest generation is already enough to work with argocd

batazor avatar Jun 16 '23 18:06 batazor

The deployer will generate the yaml files for you, and then you can use kubectl apply to deploy the application. You can add annotations to the k8s services the weaver generates.

@rgrandl hello,here is question how add annotations and reading an env param, from a specific k8s secret? Manual modification weaver generate manifest yaml?

cochen-repo avatar Feb 21 '24 13:02 cochen-repo