Skip to content

Bealvio/bealv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main Cluster

This repo only contains working workload.

Most of the system and infra workload is deployed through automation.

How to add workload

Create a kustomization fluxcd file that point to gitops/apps/<workloadname> and put it in gitops/kustomizations.

You workload will be deployed.

Expose services

To expose internally

Create an Ingress resource:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: test
  annotations:
    cert-manager.io/cluster-issuer: bealv
  labels:
    probe: enabled
spec:
  rules:
    - host: 'test.bealv.lan'
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: test
                port:
                  number: 9001
  tls:
    - hosts:
        - 'test.bealv.lan'
      secretName: test-tls

To expose externally

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: test
  annotations:
    cert-manager.io/cluster-issuer: bealvio
  labels:
    probe: enabled
spec:
  ingressClassName: external
  rules:
    - host: 'test.bealv.io'
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: test
                port:
                  number: 9001
  tls:
    - hosts:
        - 'test.bealv.io'
      secretName: test-tls

Releases

No releases published

Packages

No packages published

Languages