1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: opensearch-dashboards
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: opensearch-dashboards
- app.kubernetes.io/part-of: opensearch
- template:
- metadata:
- labels:
- app.kubernetes.io/name: opensearch-dashboards
- app.kubernetes.io/part-of: opensearch
- spec:
- hostAliases:
- - ip: "192.168.25.3"
- hostnames:
- - "node-0.example.com"
- containers:
- - env:
- - name: OPENSEARCH_HOSTS
- value: '["https://node-0.example.com:9200"]'
- image: opensearchproject/opensearch-dashboards:1.2.0
- name: opensearch-dashboards
- ports:
- - containerPort: 5601
- resources:
- limits:
- cpu: 1
- memory: 256Mi
- requests:
- cpu: 5m
- memory: 150Mi
- volumeMounts:
- - mountPath: /usr/share/opensearch-dashboards/config/opensearch_dashboards.yml
- subPath: opensearch_dashboards.yml
- name: configuration
- readOnly: true
- volumes:
- - name: configuration
- configMap:
- name: opensearch-dashboards
|