-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from ding-insper/master
update to v1.1
- Loading branch information
Showing
96 changed files
with
1,903 additions
and
1,445 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ment/quanxiang_charts/structor/Chart.yaml → deployment/kibana/Chart.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
description: A Helm chart for Kubernetes | ||
name: structor | ||
name: kibana | ||
version: 0.1.0 |
This file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
kind: ConfigMap | ||
apiVersion: v1 | ||
metadata: | ||
name: kibana | ||
namespace: {{ .Values.namespace }} | ||
annotations: | ||
kubesphere.io/creator: admin | ||
data: | ||
kibana.yml: >- | ||
# ** THIS IS AN AUTO-GENERATED FILE ** | ||
# | ||
# Default Kibana configuration for docker target | ||
server.name: kibana | ||
server.host: "0" | ||
#elasticsearch.hosts: | ||
elasticsearch.hosts: [ "http://192.168.208.23:9200","http://192.168.208.24:9200","http://192.168.208.25:9200" ] | ||
#xpack.monitoring.ui.container.elasticsearch.enabled: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: kibana | ||
namespace: {{ .Values.namespace }} | ||
labels: | ||
app: kibana | ||
annotations: | ||
deployment.kubernetes.io/revision: '1' | ||
kubesphere.io/creator: admin | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: kibana | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: kibana | ||
annotations: | ||
logging.kubesphere.io/logsidecar-config: '{}' | ||
spec: | ||
volumes: | ||
- name: volume-zuhjax | ||
configMap: | ||
name: kibana | ||
defaultMode: 420 | ||
containers: | ||
- name: container-q54rb6 | ||
image: 'kibana:7.16.1' | ||
ports: | ||
- name: http-5601 | ||
containerPort: 5601 | ||
protocol: TCP | ||
resources: {} | ||
volumeMounts: | ||
- name: volume-zuhjax | ||
readOnly: true | ||
mountPath: /usr/share/kibana/config | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
imagePullPolicy: IfNotPresent | ||
restartPolicy: Always | ||
terminationGracePeriodSeconds: 30 | ||
dnsPolicy: ClusterFirst | ||
serviceAccountName: default | ||
serviceAccount: default | ||
securityContext: {} | ||
schedulerName: default-scheduler | ||
strategy: | ||
type: RollingUpdate | ||
rollingUpdate: | ||
maxUnavailable: 25% | ||
maxSurge: 25% | ||
revisionHistoryLimit: 10 | ||
progressDeadlineSeconds: 600 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
name: kibana | ||
namespace: {{ .Values.namespace }} | ||
labels: | ||
app: kibana | ||
annotations: | ||
kubesphere.io/creator: admin | ||
spec: | ||
ports: | ||
- name: http-5601 | ||
protocol: TCP | ||
port: 5601 | ||
targetPort: 5601 | ||
selector: | ||
app: kibana | ||
type: ClusterIP | ||
sessionAffinity: None | ||
ipFamilies: | ||
- IPv4 | ||
ipFamilyPolicy: SingleStack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
namespace: "" | ||
#images: ramencloud/kibana-oss:6.8.21/daduryi/kibana-oss-7.2.0 |
This file contains 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 file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ spec: | |
{{ toYaml .Values.etcdCluster.tls | indent 4 }} | ||
{{- end }} | ||
{{- end }} | ||
|
173 changes: 173 additions & 0 deletions
173
deployment/middleware_deployment/etcd-operator/values-persis.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
# Default values for etcd-operator. | ||
# This is a YAML-formatted file. | ||
|
||
#设置tls认证请参考:https://github.com/coreos/etcd-operator/blob/master/doc/user/cluster_tls.md | ||
|
||
# Declare variables to be passed into your templates. | ||
global: | ||
## Reference to one or more secrets to be used when pulling images | ||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ | ||
## | ||
imagePullSecrets: [] | ||
# - name: "image-pull-secret" | ||
|
||
## Install Default RBAC roles and bindings | ||
rbac: | ||
create: true | ||
apiVersion: v1 | ||
|
||
## Service account name and whether to create it | ||
serviceAccount: | ||
create: true | ||
name: | ||
|
||
# Select what to deploy | ||
deployments: | ||
etcdOperator: true | ||
# one time deployment, delete once completed, | ||
# Ref: https://github.com/coreos/etcd-operator/blob/master/doc/user/walkthrough/backup-operator.md | ||
backupOperator: true | ||
# one time deployment, delete once completed | ||
# Ref: https://github.com/coreos/etcd-operator/blob/master/doc/user/walkthrough/restore-operator.md | ||
restoreOperator: true | ||
|
||
# creates custom resources, not all required, | ||
# you could use `helm template --values <values.yaml> --name release_name ... ` | ||
# and create the resources yourself to deploy on your cluster later | ||
customResources: | ||
createEtcdClusterCRD: true | ||
createBackupCRD: false | ||
createRestoreCRD: false | ||
|
||
# etcdOperator | ||
etcdOperator: | ||
priorityClassName: "" | ||
name: etcd-operator | ||
replicaCount: 1 | ||
image: | ||
repository: quay.io/coreos/etcd-operator | ||
tag: v0.9.4 | ||
pullPolicy: Always | ||
resources: | ||
cpu: 100m | ||
memory: 128Mi | ||
## Node labels for etcd-operator pod assignment | ||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/ | ||
nodeSelector: {} | ||
## additional command arguments go here; will be translated to `--key=value` form | ||
## e.g., analytics: true | ||
commandArgs: {} | ||
tolerations: [] | ||
## Configurable health checks against the /readyz endpoint that etcd-operator exposes | ||
readinessProbe: | ||
enabled: false | ||
initialDelaySeconds: 0 | ||
periodSeconds: 10 | ||
timeoutSeconds: 1 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
livenessProbe: | ||
enabled: false | ||
initialDelaySeconds: 0 | ||
periodSeconds: 10 | ||
timeoutSeconds: 1 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
|
||
# backup spec | ||
backupOperator: | ||
priorityClassName: "" | ||
name: etcd-backup-operator | ||
replicaCount: 1 | ||
image: | ||
repository: quay.io/coreos/etcd-operator | ||
tag: v0.9.4 | ||
pullPolicy: Always | ||
resources: | ||
cpu: 100m | ||
memory: 128Mi | ||
spec: | ||
storageType: S3 | ||
s3: | ||
s3Bucket: | ||
awsSecret: | ||
## Node labels for etcd pod assignment | ||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/ | ||
nodeSelector: {} | ||
## additional command arguments go here; will be translated to `--key=value` form | ||
## e.g., analytics: true | ||
commandArgs: {} | ||
securityContext: {} | ||
tolerations: [] | ||
|
||
# restore spec | ||
restoreOperator: | ||
priorityClassName: "" | ||
name: etcd-restore-operator | ||
replicaCount: 1 | ||
image: | ||
repository: quay.io/coreos/etcd-operator | ||
tag: v0.9.4 | ||
pullPolicy: Always | ||
port: 19999 | ||
resources: | ||
cpu: 100m | ||
memory: 128Mi | ||
spec: | ||
s3: | ||
# The format of "path" must be: "<s3-bucket-name>/<path-to-backup-file>" | ||
# e.g: "etcd-snapshot-bucket/v1/default/example-etcd-cluster/3.2.10_0000000000000001_etcd.backup" | ||
path: | ||
awsSecret: | ||
## Node labels for etcd pod assignment | ||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/ | ||
nodeSelector: {} | ||
## additional command arguments go here; will be translated to `--key=value` form | ||
## e.g., analytics: true | ||
commandArgs: {} | ||
securityContext: {} | ||
tolerations: [] | ||
|
||
## etcd-cluster specific values | ||
etcdCluster: | ||
name: etcd-cluster | ||
size: 3 | ||
version: 3.2.25 | ||
image: | ||
repository: quay.io/coreos/etcd | ||
tag: v3.2.25 | ||
pullPolicy: Always | ||
enableTLS: false | ||
# TLS configs | ||
tls: | ||
static: | ||
member: | ||
peerSecret: etcd-peer-tls | ||
serverSecret: etcd-server-tls | ||
operatorSecret: etcd-client-tls | ||
## etcd cluster pod specific values | ||
## Ref: https://github.com/coreos/etcd-operator/blob/master/doc/user/spec_examples.md#three-members-cluster-with-resource-requirement | ||
pod: | ||
busyboxImage: busybox:1.28.0-glibc | ||
## Antiaffinity for etcd pod assignment | ||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | ||
antiAffinity: false | ||
persistentVolumeClaimSpec: | ||
storageClassName: csi-high-capacity | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 5Gi | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 1Gi | ||
requests: | ||
cpu: 200m | ||
memory: 1Gi | ||
## Node labels for etcd pod assignment | ||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/ | ||
nodeSelector: {} | ||
securityContext: {} | ||
tolerations: [] |
Oops, something went wrong.