You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
418 B
19 lines
418 B
3 months ago
|
local patch(ports) = {
|
||
|
spec+: {
|
||
|
ports: ports,
|
||
|
type: 'NodePort',
|
||
|
},
|
||
|
};
|
||
|
|
||
|
{
|
||
|
prometheus+: {
|
||
|
service+: patch([{ name: 'web', port: 9090, targetPort: 'web', nodePort: 30900 }]),
|
||
|
},
|
||
|
alertmanager+: {
|
||
|
service+: patch([{ name: 'web', port: 9093, targetPort: 'web', nodePort: 30903 }]),
|
||
|
},
|
||
|
grafana+: {
|
||
|
service+: patch([{ name: 'http', port: 3000, targetPort: 'http', nodePort: 30902 }]),
|
||
|
},
|
||
|
}
|