This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name localhost; | |
# error logs location when running nginx-debug | |
error_log /etc/nginx/logs/error.log debug; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html index.htm; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This hook depends on helm creating the target namespace if it doesn't exist | |
# before the hook is called. This is the case on Helm v2.9.1 | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: label-ns | |
namespace: kube-system | |
labels: | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: elasticsearch | |
spec: | |
selector: | |
matchLabels: &POD_LABELS | |
app: elasticsearch | |
serviceName: elasticsearch | |
replicas: 1 |