Hello team, I've been trying to deploy my self hos...
# support-questions-legacy
c
Hello team, I've been trying to deploy my self hosted core to azure kubernetes service. When trying to apply deployment and service yaml, I get this exception from my logs Tenant(, public, public) | What caused the crash:
Copy code
io.supertokens.pluginInterface.exceptions.InvalidConfigException: 'port' must be of type int
and the yaml ```apiVersion: apps/v1 kind: Deployment metadata: name: supertokens-core spec: selector: matchLabels: app: supertokens-core replicas: 1 template: metadata: labels: app: supertokens-core spec: containers: - name: supertokens image: registry.supertokens.io/supertokens/supertokens-postgresql:8.0 env: - name: POSTGRESQL_CONNECTION_URI value: "postgresql://users:password@supersecretdb/supertokens?sslmode=require" ports: - containerPort: 3567 --- apiVersion: v1 kind: Service metadata: name: supertokens-core spec: selector: app: supertokens-core ports: - protocol: TCP port: 3567 targetPort: 3567 ```Connection uri that I supply does have the port, what could be causing this issue?
36 Views