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

istio example: the server could not find the requested resource #23

Open
kevingigiano opened this issue Jul 8, 2023 · 1 comment
Open

Comments

@kevingigiano
Copy link

When running through Practice (Interactive) - Diffing Customization , Istio Case, I ran into an issue where none of the istio resources could be found for the version specified.

Environment:
Minikube v1.30.1
CentOS 8

Error:
the server could not find the requested resource

Workaround:
Update this:
targetRevision: '1.13.4' --> targetRevision: '*'

Upon changing the targetRevision, the deployment worked as expected, with the exception, ignoreDifferences wasn't required to sync and deploy properly.
Based on YAML below, istio 1.18.0 got deployed.

Working ArgoCD Application:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: istiod
  namespace: argocd
spec:
  destination:
    namespace: istio-system
    server: "https://kubernetes.default.svc"
  project: default
  source:
    chart: istiod
    repoURL: 'https://istio-release.storage.googleapis.com/charts'
    targetRevision: '*'
  syncPolicy:
    automated: {}
    syncOptions:
      - CreateNamespace=true
@mabusaa
Copy link
Owner

mabusaa commented Aug 12, 2023

Thanks for reporting this, seems in k8s v1.27 , this no more valid lab. will replace it asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants