Last active
July 19, 2022 13:43
-
-
Save agup006/3587c10ee55cc42a6b7cc541df81888b to your computer and use it in GitHub Desktop.
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
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 |
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
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 |
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
#!/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