Skip to content

[kommander-karma] [kommander-thanos] Modify UI links#347

Merged
alejandroEsc merged 2 commits into
mesosphere:devfrom
gracedo:gracedo/fix_kommander_paths_DCOS-62153
Jan 13, 2020
Merged

[kommander-karma] [kommander-thanos] Modify UI links#347
alejandroEsc merged 2 commits into
mesosphere:devfrom
gracedo:gracedo/fix_kommander_paths_DCOS-62153

Conversation

@gracedo

@gracedo gracedo commented Jan 13, 2020

Copy link
Copy Markdown
Contributor

https://jira.mesosphere.com/browse/DCOS-62153
We are modifying karma and thanos (and grafana, done in followup PR) links to be behind /ops/portal/kommander/monitoring/<> instead of /kommander/monitoring/<>. Those ingress changes are done here along with chart bumps. After this PR is merged, I will open up a followup PR to do the following:

  1. bump the thanos/karma dependencies in the Kommander chart
  2. change the Kommander ui to point to /ops/portal/kommander/ui (see https://jira.mesosphere.com/browse/DCOS-62690 and we can close this PR DCOS-62690: Move UI under the /ui suffix #338)
  3. modify the grafana ingress to point to the new url
  4. bump kommander chart version

Following the above PR, I will close out this ticket by bumping kommander to the updated version^ in kubernetes-base-addons.

Testing

This was tested by hosting kommander-thanos and kommander-karma charts on my personal GH, then pointing kommander to my hosted charts as well as self hosting the kommander chart. I changed kommander to point to my hosted kommander chart in a branch of kubernetes-base-addons and used that to deploy a konvoy cluster. You can test this by using that branch: gracedo/test_kommander_path_changes. See below for the scrnshts of new urls working as expected:

image
image
image
image

@gracedo gracedo added the ready ready label Jan 13, 2020
@gracedo gracedo self-assigned this Jan 13, 2020
@GoelDeepak

Copy link
Copy Markdown
Contributor

@gracedo wouldn't this break until UI is moved to its own path?

@gracedo

gracedo commented Jan 13, 2020

Copy link
Copy Markdown
Contributor Author

@GoelDeepak Yes, but I will be making the dependency bumps for these two charts in a followup PR, in kommander, which will also include changing the UI to its own path - so these changes will all be pulled in together.

@alejandroEsc alejandroEsc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. thanks for adding the details!

@alejandroEsc alejandroEsc merged commit beb12f5 into mesosphere:dev Jan 13, 2020
mesosphere-teamcity pushed a commit that referenced this pull request Jan 13, 2020
…er-karma: Update path to /ops/portal/kommander * kommander-thanos: Update path to /ops/portal/kommander
@GeorgiSTodorov

Copy link
Copy Markdown
Contributor

Does this PR include https://jira.mesosphere.com/browse/DCOS-62690 ?

@gracedo

gracedo commented Jan 14, 2020

Copy link
Copy Markdown
Contributor Author

@georgi-minchev that was done in the followup PR #351

traefik.ingress.kubernetes.io/auth-url: "http://traefik-forward-auth-kubeaddons.kubeaddons.svc.cluster.local:4181/"
traefik.ingress.kubernetes.io/priority: "2"
path: "/kommander/monitoring/karma"
path: "/ops/portal/kommander/monitoring/karma/"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh, just caught that this slash shouldn't have been added. putting up a fix asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants