Skip to content

Instantly share code, notes, and snippets.

@sudheerchamarthi
Last active December 21, 2019 18:37
Show Gist options
  • Save sudheerchamarthi/42cfeecacb7d2070d39f27a1ac15aeb4 to your computer and use it in GitHub Desktop.
Save sudheerchamarthi/42cfeecacb7d2070d39f27a1ac15aeb4 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: "rsyslog"
namespace: "rsyslog"
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
alb.ingress.kubernetes.io/scheme: internal
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: "environment=stage,app=rsyslog"
spec:
ports:
- port: 514
targetPort: 514
protocol: TCP
type: LoadBalancer
selector:
app: "rsyslog"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment