Azure-Samples / Azure-Samples/azure-voting-app-redis

spec.template.spec.nodeSelector[beta.kubernetes.io/os]: deprecated -- warning shown

Open
#95 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
393
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

when deploying the app to kubernetes, using the yaml from the repo, the following warning is shown :

Warning: spec.template.spec.nodeSelector[beta.kubernetes.io/os]: deprecated since v1.14; use "kubernetes.io/os" instead

since this is sample code, this should be corrected.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Kubernetes YAML used to deploy the app from the repository, then inspect the nodeSelector entry named in the warning. Replace the deprecated beta.kubernetes.io/os key with kubernetes.io/os and deploy the sample to confirm the warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.