Coder Social home page Coder Social logo

Comments (8)

BryanEllington avatar BryanEllington commented on June 16, 2024

This was fixed in 21a5c2c and cfbd934

from viya4-monitoring-kubernetes.

githje avatar githje commented on June 16, 2024

Hi Brian, thanks for the response, I see the changes you added. However, in my case the scripts actually errored out at that point (git repo add).

from viya4-monitoring-kubernetes.

BryanEllington avatar BryanEllington commented on June 16, 2024

Could you provide more information on the error? Do you have the output? Have you pulled the latest version of the repo?

from viya4-monitoring-kubernetes.

githje avatar githje commented on June 16, 2024

Yes, sure. I cloned the repo this ~3hrs ago (all greenfield).

[me@jumphost ops4viya]$ viya4-monitoring-kubernetes/monitoring/bin/deploy_monitoring_cluster.sh
INFO Helm client version: v3.3.3+g55e3ca0
INFO Kubernetes client version: v1.17.9-eks-4c6976
INFO Kubernetes server version: v1.17.9-eks-4c6976
INFO Loading user environment file: /home/centos/ops4viya/site-config-monitoring/monitoring/user.env

Deploying monitoring to the [monitoring] namespace...
INFO Adding 'stable' helm repository
Error: repository name (stable) already exists, please specify a different name

from viya4-monitoring-kubernetes.

BryanEllington avatar BryanEllington commented on June 16, 2024

Apologies for the back-and-forth, but can you get the output of these three commands:

  • git log -n 5 --format=oneline (from the viya4-monitoring-kubernetes directory)
  • helm repo list
  • LOG_DEBUG_ENABLE=true viya4-monitoring-kubernetes/monitoring/bin/deploy_monitoring_cluster.sh

from viya4-monitoring-kubernetes.

githje avatar githje commented on June 16, 2024

Sure.

[me@jumphost viya4-monitoring-kubernetes]$ git log -n 5 --format=oneline
2021c33 Refactor samples buried in monitoring and logging directories to a top-level, merged set of samples
cfbd934 Need to 'helm repo ls' not supported in helm 2.x, use 'helm repo list'
21a5c2c Helm 3.3.3+ 'repo add' behavior changed - now fails if repo exists. Add conditional.
efc33b5 Revised logging README
7331a46 Revised removal information in logging README
[me@jumphost viya4-monitoring-kubernetes]$ helm repo list
NAME URL
stable https://kubernetes-charts.storage.googleapis.com
[me@jumphost viya4-monitoring-kubernetes]$ cd ..
[me@jumphost ops4viya]$ LOG_DEBUG_ENABLE=true viya4-monitoring-kubernetes/monitoring/bin/deploy_monitoring_cluster.sh
DEBUG Working directory: /home/centos/ops4viya/viya4-monitoring-kubernetes
DEBUG User directory: /home/centos/ops4viya/site-config-monitoring
INFO Helm client version: v3.3.3+g55e3ca0
INFO Kubernetes client version: v1.17.9-eks-4c6976
INFO Kubernetes server version: v1.17.9-eks-4c6976
DEBUG Temporary directory: [/tmp/sas.mon.uLHx5Zg0]
INFO Loading user environment file: /home/centos/ops4viya/site-config-monitoring/monitoring/user.env

DEBUG TLS is disabled. Skipping verification of cert-manager.
DEBUG Checking for Helm 2 release of [prometheus-monitoring]
DEBUG Found default storageClass: [gp2]
Deploying monitoring to the [monitoring] namespace...
INFO Adding 'stable' helm repository
Error: repository name (stable) already exists, please specify a different name
DEBUG Deleted temporary directory: [/tmp/sas.mon.uLHx5Zg0]

from viya4-monitoring-kubernetes.

BryanEllington avatar BryanEllington commented on June 16, 2024

This should now be fixed. The regex for helm repo checks now deals with the tab characters in the output.

from viya4-monitoring-kubernetes.

githje avatar githje commented on June 16, 2024

I did a git pull and tried again. All good, thank you.

from viya4-monitoring-kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.