Created
March 30, 2020 11:23
-
-
Save ryanfaircloth/93f19d1185e3b85228372e6434715bbf 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: enterprise.splunk.com/v1alpha2 | |
kind: LicenseMaster | |
metadata: | |
name: tail000 | |
namespace: a380 | |
finalizers: | |
- enterprise.splunk.com/delete-pvc | |
spec: | |
requests: | |
memory: "2Gi" | |
cpu: "4" | |
volumes: | |
- name: licenses | |
configMap: | |
name: splunk-licenses | |
licenseUrl: /mnt/licenses/enterprise.lic | |
--- | |
apiVersion: enterprise.splunk.com/v1alpha2 | |
kind: IndexerCluster | |
metadata: | |
name: tail001 | |
namespace: a380 | |
finalizers: | |
- enterprise.splunk.com/delete-pvc | |
spec: | |
# storageClassName: csi-lvm | |
etcStorage: "100Gi" | |
varStorage: "3500Gi" | |
replicas: 3 | |
requests: | |
memory: "8Gi" | |
cpu: "16" | |
licenseMasterRef: | |
name: tail000 | |
--- | |
apiVersion: enterprise.splunk.com/v1alpha2 | |
kind: SearchHeadCluster | |
metadata: | |
name: tail000 | |
namespace: a380 | |
finalizers: | |
- enterprise.splunk.com/delete-pvc | |
spec: | |
requests: | |
memory: "8Gi" | |
cpu: "8" | |
indexerClusterRef: | |
name: tail001 | |
licenseMasterRef: | |
name: tail000 | |
sparkRef: | |
name: tail000 | |
--- | |
apiVersion: enterprise.splunk.com/v1alpha2 | |
kind: Spark | |
metadata: | |
name: tail000 | |
namespace: a380 | |
spec: | |
requests: | |
memory: "8Gi" | |
cpu: "8" | |
replicas: 3 | |
indexerClusterRef: | |
name: tail001 | |
licenseMasterRef: | |
name: tail000 | |
--- | |
apiVersion: enterprise.splunk.com/v1alpha2 | |
kind: IndexerCluster | |
metadata: | |
name: tail000 | |
namespace: a380 | |
finalizers: | |
- enterprise.splunk.com/delete-pvc | |
spec: | |
# storageClassName: csi-lvm | |
replicas: 6 | |
requests: | |
memory: "4Gi" | |
cpu: "4" | |
licenseMasterRef: | |
name: tail000 | |
--- | |
apiVersion: cert-manager.io/v1alpha2 | |
kind: Certificate | |
metadata: | |
name: a380-ingress-cert-nowc | |
namespace: istio-system | |
spec: | |
secretName: a380-ingress-cert-nowc | |
issuerRef: | |
name: letsencrypt | |
kind: ClusterIssuer | |
commonName: a380.spl.guru | |
dnsNames: | |
- "a380.spl.guru" | |
- splunk.a380.spl.guru | |
- deployer-000.a380.spl.guru | |
- license-000.a380.spl.guru | |
- master-000.a380.spl.guru | |
- master-001.a380.spl.guru | |
- inputs-hec-noack.a380.spl.guru | |
- inputs-hec-ack.a380.spl.guru | |
- inputs-web-hook.a380.spl.guru | |
- inputs-s2s-a.a380.spl.guru | |
- inputs-s2s-b.a380.spl.guru | |
- inputs-s2s-c.a380.spl.guru | |
- inputs-s2s-d.a380.spl.guru | |
- inputs-s2s-e.a380.spl.guru | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: Gateway | |
metadata: | |
name: splunk-gw | |
namespace: a380 | |
spec: | |
selector: | |
istio: ingressgateway | |
servers: | |
- port: | |
number: 80 | |
name: http | |
protocol: HTTP | |
hosts: | |
- "a380.spl.guru" | |
- splunk.a380.spl.guru | |
- deployer-000.a380.spl.guru | |
- license-000.a380.spl.guru | |
- master-000.a380.spl.guru | |
- master-001.a380.spl.guru | |
tls: | |
httpsRedirect: true | |
- port: | |
number: 443 | |
name: https | |
protocol: HTTPS | |
tls: | |
mode: SIMPLE | |
credentialName: "a380-ingress-cert-nowc" | |
hosts: | |
- "a380.spl.guru" | |
- splunk.a380.spl.guru | |
- deployer-000.a380.spl.guru | |
- license-000.a380.spl.guru | |
- master-000.a380.spl.guru | |
- master-001.a380.spl.guru | |
- inputs-hec-noack.a380.spl.guru | |
- inputs-hec-ack.a380.spl.guru | |
- inputs-web-hook.a380.spl.guru | |
- port: | |
number: 9997 | |
name: tcp | |
protocol: TCP | |
hosts: | |
- inputs-s2s-a.a380.spl.guru | |
- inputs-s2s-b.a380.spl.guru | |
- inputs-s2s-c.a380.spl.guru | |
- inputs-s2s-d.a380.spl.guru | |
- inputs-s2s-e.a380.spl.guru | |
--- | |
apiVersion: networking.istio.io/v1beta1 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-master | |
namespace: a380 | |
spec: | |
gateways: | |
- splunk-gw | |
hosts: | |
- master-000.a380.spl.guru | |
http: | |
- route: | |
- destination: | |
host: splunk-tail000-cluster-master-service | |
port: | |
number: 8000 | |
--- | |
apiVersion: networking.istio.io/v1beta1 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail001-master | |
namespace: a380 | |
spec: | |
gateways: | |
- splunk-gw | |
hosts: | |
- master-001.a380.spl.guru | |
http: | |
- route: | |
- destination: | |
host: splunk-tail001-cluster-master-service | |
port: | |
number: 8000 | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-inputs-hec-noack | |
namespace: a380 | |
spec: | |
hosts: | |
- inputs-hec-noack.a380.spl.guru | |
gateways: | |
- "splunk-gw" | |
http: | |
- route: | |
- destination: | |
port: | |
number: 8088 | |
host: splunk-tail000-indexer-service | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-inputs-hec-ack | |
namespace: a380 | |
spec: | |
hosts: | |
- inputs-hec-ack.a380.spl.guru | |
gateways: | |
- "splunk-gw" | |
http: | |
- route: | |
- destination: | |
port: | |
number: 8088 | |
host: splunk-tail000-indexer-service | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: DestinationRule | |
metadata: | |
name: splunk-tail000-heck-ack | |
namespace: a380 | |
spec: | |
host: splunk-tail000-indexer-service | |
trafficPolicy: | |
loadBalancer: | |
consistentHash: | |
httpCookie: | |
name: SPLUNK_HEC_SESSION | |
ttl: 180s | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-inputs-s2s | |
namespace: a380 | |
spec: | |
hosts: | |
- inputs-s2s-a.a380.spl.guru | |
- inputs-s2s-b.a380.spl.guru | |
- inputs-s2s-c.a380.spl.guru | |
- inputs-s2s-d.a380.spl.guru | |
- inputs-s2s-e.a380.spl.guru | |
gateways: | |
- "splunk-gw" | |
tcp: | |
- match: | |
- port: 9997 | |
route: | |
- destination: | |
port: | |
number: 9997 | |
host: splunk-tail000-indexer-service | |
--- | |
apiVersion: networking.istio.io/v1beta1 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-license | |
namespace: a380 | |
spec: | |
gateways: | |
- splunk-gw | |
hosts: | |
- license-000.a380.spl.guru | |
http: | |
- route: | |
- destination: | |
host: splunk-tail000-license-master-service | |
port: | |
number: 8000 | |
--- | |
apiVersion: networking.istio.io/v1beta1 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-search-deployer | |
namespace: a380 | |
spec: | |
gateways: | |
- splunk-gw | |
hosts: | |
- deployer-000.a380.spl.guru | |
http: | |
- route: | |
- destination: | |
host: splunk-tail000-deployer-service | |
port: | |
number: 8000 | |
--- | |
apiVersion: networking.istio.io/v1beta1 | |
kind: VirtualService | |
metadata: | |
name: splunk-tail000-search | |
namespace: a380 | |
spec: | |
gateways: | |
- splunk-gw | |
hosts: | |
- splunk.a380.spl.guru | |
http: | |
- route: | |
- destination: | |
host: splunk-tail000-search-head-service | |
port: | |
number: 8000 | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: DestinationRule | |
metadata: | |
name: splunk-tail000-search | |
namespace: a380 | |
spec: | |
host: splunk-tail000-search-head-service | |
trafficPolicy: | |
loadBalancer: | |
consistentHash: | |
httpCookie: | |
name: SPLUNK_SEARCH_SESSION | |
ttl: 3600s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment