Coder Social home page Coder Social logo

Comments (5)

JooHyukKim avatar JooHyukKim commented on July 28, 2024

@jihwong Could you provide more context? Like executed command line, what parameters did you specify?

from pulsar-manager.

jihwong avatar jihwong commented on July 28, 2024

@jihwong Could you provide more context? Like executed command line, what parameters did you specify?

I use helm to install it

apiVersion: v1
data:
  DRIVER_CLASS_NAME: org.postgresql.Driver
  LOG_LEVEL: DEBUG
  REDIRECT_HOST: http://127.0.0.1
  REDIRECT_PORT: "9527"
  URL: jdbc:postgresql://127.0.0.1:5432/pulsar_manager
kind: ConfigMap

---
# kind: Deployment
      containers:
      - env:
        - name: PULSAR_CLUSTER
          value: pulsar
        - name: PULSAR_MANAGER_OPTS
          value: $(PULSAR_MANAGER_OPTS) -Dlog4j2.formatMsgNoLookups=true
        envFrom:
        - configMapRef:
            name: pulsar-pulsar-manager
        image: apachepulsar/pulsar-manager:v0.3.0

from pulsar-manager.

jihwong avatar jihwong commented on July 28, 2024

It may be because postgreSQL is enabled but it is not running properly or for other reasons.
I can login using the default configuration in image:0.4.0

from pulsar-manager.

unreal91 avatar unreal91 commented on July 28, 2024

@jihwong remove the default postgres configurations as there is no internal postgres which will run inside the pod, only add

REDIRECT_HOST: your_ingress_url
REDIRECT_PORT: '80'
SECRET_KEY: my_secret_key
SPRING_CONFIGURATION_FILE: /pulsar-manager/pulsar-manager/application.properties

in configuration should start manager with internal DB. If you want to use external DB use below configuration:

SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties"
REDIRECT_HOST: XXXXXXX
REDIRECT_PORT: "80"
SPRING_DATASOURCE_URL: XXXXXXXX
SPRING_DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
URL: XXXXXXXXX
SPRING_DATASOURCE_USERNAME: XXXXXXX
SPRING_DATASOURCE_PASSWORD: XXXXXXX
SPRING_DATASOURCE_SCHEMA: classpath:/META-INF/sql/postgresql-schema.sql
SPRING_DATASOURCE_INITIALIZATIONMODE: never

from pulsar-manager.

ThuWangzw avatar ThuWangzw commented on July 28, 2024

set PULSAR_MANAGER_OPTS to empty string in your configmap

from pulsar-manager.

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.