Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubernetes deployment file #5046

Merged
merged 2 commits into from
Oct 29, 2018
Merged

Conversation

BetaCat0
Copy link
Member

@BetaCat0 BetaCat0 commented Oct 9, 2018

This is a simple deployment file for kubernetes cluster(yaml format).
It will create a namespace named gitea and set up related Deployment, Service and Ingress.

  1. Edit this file to adapt to the actual environment
  2. Using kubectl apply -f to apply it.

Note1: If you're unwilling to use Ingress, you can simply comment it and change gitea-web part like following:

# Using node-port mode
apiVersion: v1
kind: Service
metadata:
  name: gitea-web
  namespace: gitea
  labels:
    app: gitea-web
spec:
  ports:
  - port: 80
    targetPort: 3000
    # comment next line to gain a random one.
    nodePort: 30080
    name: http
  selector:
    app: gitea

Note2: Before applying your config file, you should read comments carefully.

@codecov-io
Copy link

codecov-io commented Oct 9, 2018

Codecov Report

Merging #5046 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5046      +/-   ##
==========================================
- Coverage    37.5%   37.49%   -0.02%     
==========================================
  Files         309      309              
  Lines       45820    45820              
==========================================
- Hits        17183    17178       -5     
- Misses      26176    26179       +3     
- Partials     2461     2463       +2
Impacted Files Coverage Δ
models/repo_indexer.go 50.84% <0%> (-1.28%) ⬇️
models/repo_list.go 62.2% <0%> (-1.17%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b845119...99d345d. Read the comment docs.

@bkcsoft bkcsoft added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 9, 2018
@bkcsoft bkcsoft added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 28, 2018
@bkcsoft bkcsoft added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 29, 2018
@techknowlogick techknowlogick merged commit 8b4c4bd into go-gitea:master Oct 29, 2018
@techknowlogick techknowlogick added the type/docs This PR mainly updates/creates documentation label Oct 29, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/deployment type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants