-
Notifications
You must be signed in to change notification settings - Fork 976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment #101
Deployment #101
Conversation
@nickschuch - just a heads up, most of the (previously beta) workload resources have already been developed and are available in various community forks of this provider. Some of them still need documentation and acceptance tests, but are otherwise fully functional. We've been using the Deployment in our production environment for a few months. I'll also start sending PR's across to this repo now that these resources are GA. |
No worries, looking at the fork I can see a few things:
Would you be open to a collaboration? |
@nickschuch - yes happy to Collaborate. |
No worries! Ill get |
@nickschuch do you need help finishing this PR? |
Hey hey! That would be great. I will be back onto my regular schedule programming next week :) |
Can we get this baby on the road? 🙂 |
I've wrote a version for us at Confluent we've had shipped in prod for months now. I'll ship it this week. Gotta add tests and docs. |
Yup, I have one here as well https://github.com/previousnext/terraform-provider-k8s (has a bunch of missing APIs). I will revisit this issue this week. |
@sl1pm4t I'm also willing to help test, as I desperately need the deployment resource. I'm making do with your fork, but I've already found a bug (can't set strategy type to "Recreate"). Let me know what I can do to help or file issues. |
I'm happy to pitch in as well. Can we come to an agreement on a fork to pursue so that I'm not wasting cycles? I did about a 1/3 impl before I saw this PR, so I'm somewhat fresh with the codebase. |
Hi @nickschuch,
I was looking into doing the same and found out the upgrade from client-go v4 to v5+ is not that easy. What would you think about submitting a separate PR to upgrade the client libs with only those two commits? https://github.com/nickschuch/terraform-provider-kubernetes/commit/c7dcbf2abb2aa8ced4b2c88fa7f9b8458aaf061d Apparently, an additional Edit: I spoke too fast as building the provider with those updates is currently broken. I've put together PR #117 to upgrade k8s libs to 1.9 with govendor reusing https://github.com/nickschuch/terraform-provider-kubernetes/commit/aaff7e9c1dcbd73f716e77aff784886fda0538a8 |
Just wanted to ask if there's anything I can do to help with this PR . I'm a huge fan of getting this done |
@radeksimko What is it going to take to get this merged? This PR has been open for 2.5 months and really is crucial to using the Kubernetes Terraform provider for many applications. |
@austinkelleher Look at https://github.com/sl1pm4t/terraform-provider-kubernetes it has deployments and more and is constantly maintained with these upstream changes. |
@bassrock I'm currently using that, but I'd really like to see deployments becoming a part of core /cc @radeksimko |
Yes, please, make it to mainline :) |
using the custom one as well at the moment, but would love seeing this in mainline as well :) |
👍 would love to see this merged |
Any update here? |
@nickschuch We've recently merged an update of the K8S client libraries to 1.10. |
Thanks @alexsomesan ! I'll sort it out today! |
Rebased! How shall I proceed? |
@nickschuch Looks good. Do you have anymore changes you'd like to add to this PR? Otherwise I would say we merge it and work on acceptance tests, which are missing. Normally we'd not merge a PR without any kind of tests, but since this has been sitting for so long and we'd like to get the ball rolling again with the K8S provider I feel we can work on tests next and merge it now. |
That sounds great @alexsomesan ! |
OMG. Kubernetes Deployments in terraform! |
Now we only need to get #73 merged and then we can have a party 🎉 Keep up the good work everyone ❤️ |
hey guys, looks like docs weren't updated: https://www.terraform.io/docs/providers/kubernetes/ can anyone confirm please? |
@adrianlop This is true. Issue was caused by me not being familiar with the website deployment process. |
Done. Deployment docs are here: https://www.terraform.io/docs/providers/kubernetes/r/deployment.html |
that was fast mate @alexsomesan thank you very much!! |
I'm looking at the update portion. Once it has updated the deployment, it seems it calls |
@enozero Let me take a look... |
Thanks, @alexsomesan! I filed #210 to track. |
Deployments have now become stable as a part of release v1.9.0
This pull request is a few things:
kubernetes_deployment
resource now that 1.9.0 has landed.This is my first contribution to the Terraform community so would love to hear any feedback you want to give!
I am also very interested in also contributing the "DaemonSet" resource!
I used
dep
to bump the client libraries up to "release-1.9.0". Would you be interested in switching to Dep or is there some guidance I could get on bumping with go-vendor?