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

Install Kyma on AKS #2233

Closed
PK85 opened this issue Jan 10, 2019 · 5 comments
Closed

Install Kyma on AKS #2233

PK85 opened this issue Jan 10, 2019 · 5 comments
Assignees
Labels
area/cluster Related to all activities around cluster and its stability area/documentation Issues or PRs related to documentation area/installation Issues or PRs related to installation

Comments

@PK85
Copy link
Contributor

PK85 commented Jan 10, 2019

Description

Part of our release theme: Generalize deployment and operational aspects so that also Microsoft AKS can be supported.

Acceptance Criteria

  • prepare installation instruction (use GKE installation guide as a template)
  • make sure kyma works (installation process and test are green)
  • create unified documentation about GKE and AKS with wildcard DNS

Attachments

@PK85 PK85 added area/documentation Issues or PRs related to documentation area/installation Issues or PRs related to installation area/cluster Related to all activities around cluster and its stability labels Jan 10, 2019
@PK85 PK85 added this to the Sprint_Gopher_9 milestone Jan 14, 2019
@adamwalach adamwalach self-assigned this Jan 14, 2019
@adamwalach
Copy link
Contributor

adamwalach commented Jan 18, 2019

There are two issues with running Kyma on AKS.

  1. During installation the readiness probe on service-catalog-apiserver fails with 403
    This is a known issue: Catalog controller crashing on 1.9.6  Azure/AKS#417
    A bit more description can be found here: Readiness probe failed: HTTP probe failed with statuscode: 403 voyagermesh/voyager#1296
    Suggested solution is to allow "system:unauthenticated" group to access ["/healthz", "/healthz/*"] endpoints: [stable/prometheus-adapter] 403 in readiness probe in AKS helm/charts#10222 (comment). This is not perfect cause this policy is too open
  2. Kyma UI cannot access Pods, Services and all other resources that are fetched through K8S dashboard. screen shot 2019-01-18 at 15 00 59
    This issue has two causes:
  • istio network setup
    It is also known: Internal apiserver calls blocked by Istio-- only on AKS Azure/AKS#561.
    Directly after installation we've got error 403. When we added global.proxy.excludeIPRanges
    to the installation yaml
    screen shot 2019-01-18 at 15 07 51
    the error changed to 503.
  • build-in k8s dashboard is exposed using http instead of https.
    It causes the 503 error. This port cannot be changed in the SVC, we tried to modify that and it always preserves original values. The only solution is to add configuration parameter to Kyma so we can set url for K8s dashboard to a proper value during installation. Or we could stop using the dashboard as a datasource.

@adamwalach
Copy link
Contributor

Logs from tests:

@adamwalach
Copy link
Contributor

adamwalach commented Jan 23, 2019

@adamwalach
Copy link
Contributor

Stats:
AKS cluster creation ~ 6min
Kyma installation ~ 18min
AKS cluster deletion - 8min

@PK85
Copy link
Contributor Author

PK85 commented Jan 24, 2019

Findings:

  1. Kubectl configuration duplicated, see:
  1. point 2 - https://github.com/kyma-project/kyma/blob/master/docs/kyma/docs/04-05-aks-installation.md#prepare-the-aks-cluster mention that if error Error from server (MethodNotAllowed): error when creating "my-kyma.yaml": the server does not allow this method on the requested resource (post installations.installer.kyma-project.io) will be displayed, apply again before going to point no 2
  2. point 5 - https://github.com/kyma-project/kyma/blob/master/docs/kyma/docs/04-05-aks-installation.md#deploy-kyma "To watch the installation progress, run:" is not enough, whole "Configure DNS for the cluster load balancer" section requires some things to be up and running. As you said is-isntalled script could be not available in release mode installation. Let me know what options we have.

@PK85 PK85 closed this as completed Jan 26, 2019
grischperl pushed a commit to grischperl/kyma that referenced this issue Nov 10, 2020
* use binary for github-release.sh

* squished memory resource request to 200Mi from 1Gi

* updated tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster Related to all activities around cluster and its stability area/documentation Issues or PRs related to documentation area/installation Issues or PRs related to installation
Projects
None yet
Development

No branches or pull requests

2 participants