zalando-incubator / zelt

A command-line tool for orchestrating the deployment of Locust in Kubernetes.
https://zelt.readthedocs.io
MIT License
36 stars 3 forks source link

Switch to a newer version of Kubernetes API for Ingresses and Deployments #21

Closed tortila closed 5 years ago

tortila commented 5 years ago

Switch to a newer version of Kubernetes API for Ingresses and Deployments. The API extensions/v1beta1 no longer contains Deployment definitions. I switched the Ingress definitions to use networking.k8s.io/v1beta1 just in case, but also because this is the version used in the official examples. EDIT: Now I can actually see that this is a planned deprecation - Ingress definition will be removed from extensions/v1beta1 in Kubernetes version v1.20.

Additionally this PR:

Closes #20.

Types of Changes

What types of changes does your code introduce? Keep the ones that apply:

Review

Reviewers' checklist:

Additional notes

I tested the changes with the example manifests (both combined and distributed modes) in a real Kubernetes cluster, ~but didn't have a chance to test it with local cluster spawned by minikube, because I couldn't make minikube work on my MacBook 😢~ works on minikube too.

zincr[bot] commented 5 years ago

🤖 zincr found 0 problems , 1 warning

ℹ️ Large Commits
✅ Approvals
✅ Specification
✅ Dependency Licensing

Details on how to resolve are provided below


Large Commits

Checks all commits for large additions to a single file. Large commits should be reviewed more carefully for potential copyright and licensing issues

This file contains a substantial change, please review to determine if the change comes from an external source and if there are any copyright or licensing issues to be aware of

tortila commented 5 years ago

@perploug do you know what happened to the DCO integration? It looks like it was switched off. If it was on purpose, we should also stop depending on the required status check from DCO.

bmaher commented 5 years ago

@tortila I'll try to check it on minikube

tortila commented 5 years ago

@bmaher I got some help with testing this PR on minikube within Zalando, and everything works as expected. I will merge this PR once I figure out the deal with the DCO bot