mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-10 06:38:18 +08:00
.devcontainer
.gitea
.github
assets
build
cmd
contrib
custom
docker
docs
content
administration
contributing
development
help
installation
_index.en-us.md
_index.zh-cn.md
comparison.en-us.md
comparison.zh-cn.md
database-preparation.en-us.md
database-preparation.zh-cn.md
from-binary.en-us.md
from-binary.zh-cn.md
from-package.en-us.md
from-package.zh-cn.md
from-source.en-us.md
from-source.zh-cn.md
on-cloud-provider.en-us.md
on-cloud-provider.zh-cn.md
on-kubernetes.en-us.md
on-kubernetes.zh-cn.md
run-as-service-in-ubuntu.en-us.md
run-as-service-in-ubuntu.zh-cn.md
upgrade-from-gitea.en-us.md
upgrade-from-gitea.zh-cn.md
windows-service.en-us.md
windows-service.zh-cn.md
with-docker-rootless.en-us.md
with-docker-rootless.zh-cn.md
with-docker.en-us.md
with-docker.zh-cn.md
usage
actions.en-us.md
administration.en-us.md
administration.zh-cn.md
contributing.en-us.md
development.en-us.md
development.zh-cn.md
help.en-us.md
help.zh-cn.md
index.en-us.md
index.zh-cn.md
installation.en-us.md
installation.zh-cn.md
packages.en-us.md
search.en-us.md
search.nl-nl.md
search.pt-br.md
search.zh-cn.md
usage.en-us.md
usage.zh-cn.md
static
.gitignore
LICENSE
README.md
README_ZH.md
models
modules
options
public
routers
services
snap
templates
tests
tools
web_src
.air.toml
.changelog.yml
.dockerignore
.editorconfig
.eslintrc.yaml
.gitattributes
.gitignore
.gitpod.yml
.golangci.yml
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.stylelintrc.yaml
.yamllint.yaml
BSDmakefile
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
LICENSE
MAINTAINERS
Makefile
README.md
README_ZH.md
SECURITY.md
build.go
go.mod
go.sum
main.go
package-lock.json
package.json
playwright.config.js
poetry.lock
poetry.toml
pyproject.toml
tailwind.config.js
updates.config.js
vitest.config.js
webpack.config.js

This PR cleans up the docs in a way to make them simpler to ingest by our [docs repo](https://gitea.com/gitea/gitea-docusaurus). 1. It includes all of the sed invocations our ingestion did, removing the need to do it at build time. 2. It replaces the shortcode variable replacement method with `@variable@` style, simply for easier sed invocations when required. 3. It removes unused files and moves the docs up a level as cleanup. --------- Signed-off-by: jolheiser <john.olheiser@gmail.com>
1.7 KiB
1.7 KiB
date | title | slug | sidebar_position | toc | draft | aliases | menu | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2020-03-19T19:27:00+02:00 | Install on Kubernetes | install-on-kubernetes | 80 | false | false |
|
|
Installation with Helm (on Kubernetes)
Gitea provides a Helm Chart to allow for installation on kubernetes.
A non-customized install can be done with:
helm repo add gitea-charts https://dl.gitea.com/charts/
helm install gitea gitea-charts/gitea
If you would like to customize your install, which includes kubernetes ingress, please refer to the complete Gitea helm chart configuration details
Health check endpoint
Gitea comes with a health check endpoint /api/healthz
, you can configure it in kubernetes like this:
livenessProbe:
httpGet:
path: /api/healthz
port: http
initialDelaySeconds: 200
timeoutSeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
a successful health check response will respond with http code 200
, here's example:
HTTP/1.1 200 OK
{
"status": "pass",
"description": "Gitea: Git with a cup of tea",
"checks": {
"cache:ping": [
{
"status": "pass",
"time": "2022-02-19T09:16:08Z"
}
],
"database:ping": [
{
"status": "pass",
"time": "2022-02-19T09:16:08Z"
}
]
}
}
for more information, please reference to kubernetes documentation Define a liveness HTTP request