[wait-for-migrations]

HI GoodEvening,

I’m new for kong and k8’s, trying to deploy kong-ingress with postgresql 9.5
db(https://raw.githubusercontent.com/Kong/kubernetes-ingress-controller/master/deploy/single/all-in-one-postgres-enterprise.yaml) i’m getting below error .

[root@localhost exaples]# k get po -n kong1
NAME READY STATUS RESTARTS AGE
ingress-kong-77c8c44cb5-n7s2t 0/2 Init:0/1 0 3m54s
kong-migrations-gm8cr 0/1 Completed 0 3m50s
postgres-0 1/1 Running 0 49s

[root@localhost exaples]# k logs -f ingress-kong-77c8c44cb5-n7s2t -n kong1
error: a container name must be specified for pod ingress-kong-77c8c44cb5-n7s2t, choose one of: [proxy ingress-controller] or one of the init containers: [wait-for-migrations]

[root@localhost exaples]# k logs -f ingress-kong-77c8c44cb5-n7s2t -n kong1 -c wait-for-migrations
Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: timeout

Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: timeout

Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: timeout

Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: timeout

Run with --v (verbose) or --vv (debug) for more details
Executed migrations:
core: 000_base, 001_13_to_14, 001_14_to_15, 002_15_to_1, 003_100_to_110, 004_110_to_120, 005_120_to_130, 006_130_to_140, 007_140_to_150
graphql-rate-limiting-advanced: 000_base_gql_rate_limiting
vault-auth: 000_base_vault_auth
rate-limiting: 000_base_rate_limiting, 001_14_to_15, 002_15_to_10, 003_10_to_112
jwt-signer: 000_base_jwt_signer
hmac-auth: 000_base_hmac_auth, 001_14_to_15, 002_130_to_140
response-ratelimiting: 000_base_response_rate_limiting, 001_14_to_15, 002_15_to_10
oauth2: 000_base_oauth2, 001_14_to_15, 002_15_to_10, 003_130_to_140
session: 000_base_session
jwt: 000_base_jwt, 001_14_to_15, 002_130_to_140
key-auth: 000_base_key_auth, 001_14_to_15, 002_130_to_140
degraphql: 000_base
proxy-cache-advanced: 000_base, 001_035_to_050
openid-connect: 000_base_openid_connect, 001_14_to_15, 002_200_to_210
basic-auth: 000_base_basic_auth, 001_14_to_15, 002_130_to_140
mtls-auth: 000_base_mtls_auth
acl: 000_base_acl, 001_14_to_15, 002_130_to_140
key-auth-enc: 000_base_key_auth_enc
enterprise: 000_base, 001_034_to_035, 002_035_to_035-1, 003_035-1_to_036-2, 004_036-2_to_037, 005_037_to_1301, 006_1301_to_1500

when i checked migration job logs its looks good, but still i’m getting this issue could you please help me out this.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ