Difference between revisions of "Check gitlab status.sh"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
#!/bin/bash | #!/bin/bash | ||
[[gitlab-ctl status]] | [[gitlab-ctl status]] | ||
+ | [[curl]] [[-w]] "\n" http://localhost/-/health | ||
+ | curl -s http://localhost/-/readiness | [[jq]] | ||
+ | curl -s http://localhost/-/liveness | [[jq]] | ||
+ | == See also == | ||
+ | * {{GitLab}} | ||
− | + | [[Category:GitLab]] | |
− |
Revision as of 17:29, 27 August 2022
#!/bin/bash gitlab-ctl status curl -w "\n" http://localhost/-/health curl -s http://localhost/-/readiness | jq curl -s http://localhost/-/liveness | jq
See also
- GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: