You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to deploy the api-server with a configuration that should allow it to communicate with a previously set up mysql-database. However, despite setting the according environment variables, the service keeps on crashing!
What did you expect to happen:
I expected the application to correctly use the set up environment variables.
What steps did you take:
I have set up a mysql deployment:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
mysql-argo ClusterIP 10.247.50.60 <none> 3306/TCP 1h
with the according secret
NAME TYPE DATA AGE
mysql-argo-password Opaque 1 1h
as I have read #1455 such that I can overwrite the settings of the config.json using the environment variables in the .yaml file. I also used the newest version in which this merge is applied.
Now, I am trying to deploy the according pipeline components, yet I am stuck when trying to deploy the api-server: After creating the deployment, the created pod does try to connect to the database for the specified amount of "InitConnectionTimeout": "6m" and then crashes with:
Now, with that error message I have several problems:
Apparently, the overwriting of the User did work: It no longer uses the root-User
The setting of the MySQL-Host did not work: I did specify an IP, yet the client apparently tries to connect to a different IP address ( which in this case is the IP address of the pod itself )
Apparently, the setting of the Password did not work out, since it still tells me, it is using NO PASSWORD
... which leads me to the question: What did I do wrong here ;-)
Anything else you would like to add:
I am truly hoping that I did read all the docs correctly and my limited knowledge of Go does not come around to bite me in the blubber ;)
The text was updated successfully, but these errors were encountered:
What happened:
I tried to deploy the api-server with a configuration that should allow it to communicate with a previously set up mysql-database. However, despite setting the according environment variables, the service keeps on crashing!
What did you expect to happen:
I expected the application to correctly use the set up environment variables.
What steps did you take:
I have set up a mysql deployment:
with the according secret
My deployment for the api-server looks like:
as I have read #1455 such that I can overwrite the settings of the config.json using the environment variables in the .yaml file. I also used the newest version in which this merge is applied.
Now, I am trying to deploy the according pipeline components, yet I am stuck when trying to deploy the api-server: After creating the deployment, the created pod does try to connect to the database for the specified amount of "InitConnectionTimeout": "6m" and then crashes with:
Now, with that error message I have several problems:
... which leads me to the question: What did I do wrong here ;-)
Anything else you would like to add:
I am truly hoping that I did read all the docs correctly and my limited knowledge of Go does not come around to bite me in the blubber ;)
The text was updated successfully, but these errors were encountered: