Skip to content

Use the port 8080 health check instead of enabling anonymous access #8779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions config/recipes/gclb/01-elastic-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ spec:
count: 3
config:
node.store.allow_mmap: false
# Enable anonymous access to allow GCLB health probes to succeed
xpack.security.authc:
anonymous:
username: anon
roles: monitoring_user
podTemplate:
spec:
containers:
Expand Down
15 changes: 15 additions & 0 deletions config/recipes/gclb/02-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,18 @@ spec:
name: hulk-kb-http
port:
name: https
---
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: es-lb-healthcheck
spec:
default:
config:
tcpHealthCheck:
port: 8080
type: TCP
targetRef:
group: ''
kind: Service
name: hulk-es-http