in fargate/eks_cdk/lib/eks_cdk-stack.ts [107:123]
private static getQuarkusServiceK8sDefinition(appLabel: { app: string }) {
return {
apiVersion: "v1",
kind: "Service",
metadata: {
name: "quarkus-demo-svc",
annotations: {
"alb.ingress.kubernetes.io/target-type": "ip"
}
},
spec: {
type: "NodePort",
ports: [{ port: 8080, targetPort: 8080 }],
selector: appLabel
}
};
}