mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
charts: add nginx chart
This commit is contained in:
10
nginx/Chart.yaml
Normal file
10
nginx/Chart.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: nginx
|
||||
home: http://www.nginx.org
|
||||
source:
|
||||
- https://github.com/bitnami/bitnami-docker-nginx
|
||||
version: 0.1.0
|
||||
description: Chart for the nginx server
|
||||
maintainers:
|
||||
- Bitnami <containers@bitnami.com>
|
||||
details: |-
|
||||
nginx is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server).
|
||||
5
nginx/README.md
Normal file
5
nginx/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Nginx
|
||||
|
||||
> nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server).
|
||||
|
||||
Based on the [Bitnami nginx](https://github.com/bitnami/bitnami-docker-nginx) image for docker, this Chart bootstraps a [nginx](http://www.nginx.org) deployment on a [Kubernetes](http://kubernetes.io) cluster using [Helm](https://helm.sh).
|
||||
53
nginx/manifests/nginx-rc.yaml
Normal file
53
nginx/manifests/nginx-rc.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
provider: nginx
|
||||
heritage: bitnami
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
provider: nginx
|
||||
version: 1.9.9-0
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
provider: nginx
|
||||
version: 1.9.9-0
|
||||
heritage: bitnami
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: bitnami/nginx:1.9.9-0
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
- name: https
|
||||
containerPort: 443
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 1
|
||||
volumeMounts:
|
||||
- name: htdocs
|
||||
mountPath: /app
|
||||
- name: conf
|
||||
mountPath: /bitnami/nginx/conf
|
||||
- name: logs
|
||||
mountPath: /bitnami/nginx/logs
|
||||
volumes:
|
||||
- name: htdocs
|
||||
emptyDir: {}
|
||||
- name: conf
|
||||
emptyDir: {}
|
||||
- name: logs
|
||||
emptyDir: {}
|
||||
18
nginx/manifests/nginx-svc.yaml
Normal file
18
nginx/manifests/nginx-svc.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
provider: nginx
|
||||
heritage: bitnami
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
- name: https
|
||||
port: 443
|
||||
targetPort: https
|
||||
selector:
|
||||
provider: nginx
|
||||
Reference in New Issue
Block a user