openfaas-incubator / vcenter-connector

Extend vCenter with OpenFaaS
MIT License
28 stars 8 forks source link

Update deployments to use apps/v1 #34

Closed martindekov closed 4 years ago

martindekov commented 4 years ago

Updating the deployments to use apps/v1 instead of extensions/v1beta1 as kubernetes 1.16 is depricating extensions/v1beta1 and apps/v1 is becoming the standart one

Signed-off-by: Martin Dekov mvdekov@gmail.com

Description

Kubernetes is deprecating the extensions type and apps/v1 is mandatory for kubernetes 1.16+

Motivation and Context

How Has This Been Tested?

Applied the connector components on Kubernetes 16.2

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:09:08Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
$ kubectl get pods -n openfaas
NAME                                 READY   STATUS    RESTARTS   AGE
alertmanager-8447d569c8-6jcwr        1/1     Running   1          15d
basic-auth-plugin-76899dc95-h7d2d    1/1     Running   1          15d
faas-idler-86b55ffcbf-c8j44          1/1     Running   5          15d
gateway-598497c4fb-zn4v4             2/2     Running   4          15d
kafka-broker-57b8766694-nlmz6        1/1     Running   3          15d
kafka-connector-5ccc6f7fc8-wfmf8     1/1     Running   9          15d
nats-6b6d549b56-dcksn                1/1     Running   1          15d
prometheus-7f694ddc48-8544j          1/1     Running   1          15d
queue-worker-554946dc65-pmbnp        1/1     Running   3          15d
vcenter-connector-5648c9f8c4-9pb4v   1/1     Running   0          9m31s
vcsim-server-b767bc6b8-zz7g7         1/1     Running   0          11m
zookeeper-8794dcbdf-tdwwd            1/1     Running   1          15d

Types of changes

Checklist:

alexellis commented 4 years ago

cc @embano1

alexellis commented 4 years ago

Thank you Martin

martindekov commented 4 years ago

Ma pleasure :beers:

alexellis commented 4 years ago

Feel free to pick up some of the other issues from the vcenter-connector. What do you think of taking the Kafka-connector helm chart as a template for a chart for this?