I tried to deploy a drone server on my k8s cluster(gcp).
I used official drone charts and exposed the drone server via k8s ingress (with Google-managed SSL certificates)
Although I can access the drone server with the domain name, the static files of drone-ui are 404 not found.
The status code of drone.mydomain .com is 200 while the status code of drone.mydomain .com/css/app.354cf870.css is 404
Following are the log messages of the drone-server pod:
{“level”:“info”,“msg”:“main: internal scheduler enabled”,“time”:“2020-10-11T16:43:11Z”}
{“acme”:false,“host”:“drone.mydomain.com”,“level”:“info”,“msg”:“starting the http server”,“port”:":80",“proto”:“https”,“time”:“2020-10-11T16:43:11Z”,“url”:“https://drone.mydomain.com”}
{“interval”:“30m0s”,“level”:“info”,“msg”:“starting the cron scheduler”,“time”:“2020-10-11T16:43:11Z”}
{“interval”:“24h0m0s”,“level”:“info”,“msg”:“starting the zombie build reaper”,“time”:“2020-10-11T16:43:11Z”}
Any ideas? Thanks!
Edit:
I just found that there’s some mistake in the rules of ingress.
Fixed. Thanks.