Skip to content

Instantly share code, notes, and snippets.

@agup006
Last active July 19, 2022 13:43
Show Gist options
  • Save agup006/3587c10ee55cc42a6b7cc541df81888b to your computer and use it in GitHub Desktop.
Save agup006/3587c10ee55cc42a6b7cc541df81888b to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Deployment
replicaCount: 1
rbac:
create: false
config:
service: |
[SERVICE]
Flush 5
Daemon Off
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port 2020
inputs: |
[INPUT]
Name dummy
Tag dummy.log
Dummy {"message": "testing"}
Rate 10
outputs: |
[OUTPUT]
Name opensearch
Match *
Host opensearch-cluster-master
Port 9200
Index fluentbit
Suppress_Type_Name On
http_user admin
http_passwd admin
tls On
tls.verify Off
apiVersion: v1
kind: Service
metadata:
labels:
app: opensearch-tab
managedFields:
name: opensearch-tab
namespace: default
spec:
ports:
- nodePort: 30002
port: 5601
protocol: TCP
selector:
app: opensearch-dashboards
type: NodePort
#!/bin/bash
helm upgrade --install opensearch opensearch/opensearch --values opensearch-basic.yaml
helm upgrade --install opensearch-db opensearch/opensearch-dashboards
kubectl apply -f opensearch-service.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment