Skip to content
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

[FEATURE] Support Kubernetes 1.25 #264

Open
anusha-ragunathan opened this issue Oct 20, 2022 · 0 comments · May be fixed by #293
Open

[FEATURE] Support Kubernetes 1.25 #264

anusha-ragunathan opened this issue Oct 20, 2022 · 0 comments · May be fixed by #293
Labels
enhancement New feature or request hacktoberfest issue open for hackoberfest contribution help wanted Extra attention is needed

Comments

@anusha-ragunathan
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Use the install_istio.sh script on a Kubernetes 1.25 and notice that HPA and PDB APIs that are in use are being deprecated in Kubernetes 1.25.

~/code/src/github.com/istio-ecosystem/admiral$ ./tests/install_istio.sh 1.13.3 osx
Installing Istio version: 1.13.3
--2022-10-20 13:29:07--  https://github.com/istio/istio/releases/download/1.13.3/istio-1.13.3-osx.tar.gz
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/74175805/31c20781-f331-4ded-9d17-59595d42a3b7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221020%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221020T202908Z&X-Amz-Expires=300&X-Amz-Signature=6a69fa3088b8179e800c925b163b273995991c6ce17a9ed63ebed7e5f8353ba6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=74175805&response-content-disposition=attachment%3B%20filename%3Distio-1.13.3-osx.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-10-20 13:29:07--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/74175805/31c20781-f331-4ded-9d17-59595d42a3b7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221020%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221020T202908Z&X-Amz-Expires=300&X-Amz-Signature=6a69fa3088b8179e800c925b163b273995991c6ce17a9ed63ebed7e5f8353ba6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=74175805&response-content-disposition=attachment%3B%20filename%3Distio-1.13.3-osx.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26210738 (25M) [application/octet-stream]
Saving to: ‘istio-1.13.3-osx.tar.gz.3’

istio-1.13.3-osx.tar.gz.3                             100%[=========================================================================================================================>]  25.00M  16.6MB/s    in 1.5s    

2022-10-20 13:29:09 (16.6 MB/s) - ‘istio-1.13.3-osx.tar.gz.3’ saved [26210738/26210738]

Error from server (AlreadyExists): namespaces "istio-system" already exists
error: failed to create secret secrets "cacerts" already exists
✔ Istio core installed                                                                                                                                                                                                  
- Processing resources for Istiod.                                                                                                                                                                                      2022-10-20T20:29:14.174240Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
  Processing resources for Istiod.                                                                                                                                                                                      2022-10-20T20:29:14.198177Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
✘ Istiod encountered an error: failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"                  
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
  Processing resources for Ingress gateways.                                                                                                                                                                            2022-10-20T20:29:14.270332Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-eastwestgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
2022-10-20T20:29:14.970320Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-ingressgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
  Processing resources for Ingress gateways.                                                                                                                                                                            2022-10-20T20:29:15.668240Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-eastwestgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
2022-10-20T20:29:16.365805Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
✘ Ingress gateways encountered an error: failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-eastwestgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-ingressgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-eastwestgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
- Pruning removed resources                                                                                                                                                                                             2022-10-20T20:29:17.071263Z	warn	installer	retrieving resources to prune type autoscaling/v2beta1, Kind=HorizontalPodAutoscaler: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1" not found
2022-10-20T20:29:17.766197Z	warn	installer	retrieving resources to prune type policy/v1beta1, Kind=PodDisruptionBudget: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" not found
Error: failed to install manifests: errors occurred during operation
deployment "istiod" successfully rolled out

Describe the solution you'd like
Add support for Kubernetes 1.25

@anusha-ragunathan anusha-ragunathan added the enhancement New feature or request label Oct 20, 2022
@aattuluri aattuluri added help wanted Extra attention is needed hacktoberfest issue open for hackoberfest contribution labels Sep 8, 2023
shriramsharma added a commit to shriramsharma/admiral that referenced this issue Feb 22, 2024
shriramsharma added a commit to shriramsharma/admiral that referenced this issue Feb 22, 2024
…d Istio version

Signed-off-by: Shriram Sharma <shriram_sharma@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest issue open for hackoberfest contribution help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants