Skip to content

Kubernetes deployment manifest is outdated #21

@nav9

Description

@nav9

When I run $ kubectl create -R -f k8s/, I get the output:

service/auth-api created
service/frontend created
service/redis-queue created
service/todos-api created
service/users-api created
service/zipkin created
unable to recognize "k8s/auth-api/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "k8s/frontend/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "k8s/log-message-processor/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "k8s/redis-queue/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "k8s/todos-api/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "k8s/users-api/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "k8s/zipkin/deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"

The yaml files need to be updated to apps/v1 format, as mentioned here: https://stackoverflow.com/questions/58481850/no-matches-for-kind-deployment-in-version-extensions-v1beta1

kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-15T21:04:39Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.2", GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7", GitTreeState:"clean", BuildDate:"2021-06-16T12:53:14Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions