diff --git a/k8s/applications/templates/alertmanager-slack.yaml b/k8s/applications/templates/alertmanager-slack.yaml deleted file mode 100644 index 6d41e40..0000000 --- a/k8s/applications/templates/alertmanager-slack.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: alertmanager-slack -spec: - destination: - name: '' - namespace: alertmanager-slack - server: 'https://kubernetes.default.svc' - source: - path: k8s/alertmanager-slack - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/argocd.yaml b/k8s/applications/templates/argocd.yaml deleted file mode 100644 index 2a57770..0000000 --- a/k8s/applications/templates/argocd.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: argocd -spec: - destination: - name: '' - namespace: argocd - server: 'https://kubernetes.default.svc' - source: - helm: - valueFiles: - - values-{{ .Values.environment }}.yaml - path: k8s/argocd - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/cert-manager.yaml b/k8s/applications/templates/cert-manager.yaml deleted file mode 100644 index 07f6333..0000000 --- a/k8s/applications/templates/cert-manager.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: cert-manager -spec: - destination: - name: '' - namespace: cert-manager - server: 'https://kubernetes.default.svc' - source: - path: k8s/cert-manager - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/coturn-dns.yaml b/k8s/applications/templates/coturn-dns.yaml deleted file mode 100644 index debac7c..0000000 --- a/k8s/applications/templates/coturn-dns.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: coturn-dns -spec: - destination: - name: '' - namespace: coturn-dns - server: 'https://kubernetes.default.svc' - source: - helm: - valueFiles: - - values-{{ .Values.environment }}.yaml - path: k8s/coturn-dns - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - # automated: - # prune: true - # allowEmpty: false - # retry: - # limit: 5 - # backoff: - # duration: 5s - # factor: 2 - # maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/coturn.yaml b/k8s/applications/templates/coturn.yaml deleted file mode 100644 index a8236c6..0000000 --- a/k8s/applications/templates/coturn.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: coturn -spec: - destination: - name: '' - namespace: coturn - server: 'https://kubernetes.default.svc' - source: - path: k8s/coturn - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - # automated: - # prune: true - # allowEmpty: false - # retry: - # limit: 5 - # backoff: - # duration: 5s - # factor: 2 - # maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/external-dns.yaml b/k8s/applications/templates/external-dns.yaml deleted file mode 100644 index ba2f451..0000000 --- a/k8s/applications/templates/external-dns.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: external-dns -spec: - destination: - name: '' - namespace: external-dns - server: 'https://kubernetes.default.svc' - source: - path: k8s/external-dns - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/ingress-nginx.yaml b/k8s/applications/templates/ingress-nginx.yaml deleted file mode 100644 index 8221c40..0000000 --- a/k8s/applications/templates/ingress-nginx.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: ingress-nginx -spec: - destination: - name: '' - namespace: ingress-nginx - server: 'https://kubernetes.default.svc' - source: - path: '' - repoURL: 'https://kubernetes.github.io/ingress-nginx' - targetRevision: 4.0.6 - chart: ingress-nginx - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/metrics-server.yaml b/k8s/applications/templates/metrics-server.yaml deleted file mode 100644 index 5de4849..0000000 --- a/k8s/applications/templates/metrics-server.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: metrics-server -spec: - destination: - name: '' - namespace: metrics-server - server: 'https://kubernetes.default.svc' - source: - path: '' - repoURL: 'https://charts.bitnami.com/bitnami' - targetRevision: 5.10.7 - chart: metrics-server - helm: - values: |- - apiService: - create: true - extraArgs: - kubelet-preferred-address-types: InternalIP - kubelet-insecure-tls: true - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/monitoring.yaml b/k8s/applications/templates/monitoring.yaml deleted file mode 100644 index 7f61a65..0000000 --- a/k8s/applications/templates/monitoring.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: monitoring -spec: - destination: - name: '' - namespace: monitoring - server: 'https://kubernetes.default.svc' - source: - helm: - valueFiles: - - values-{{ .Values.environment }}.yaml - path: k8s/monitoring - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - # automated: - # prune: true - # allowEmpty: false - # retry: - # limit: 5 - # backoff: - # duration: 5s - # factor: 2 - # maxDuration: 3m \ No newline at end of file diff --git a/k8s/applications/templates/webrtc-be.yaml b/k8s/applications/templates/webrtc-be.yaml deleted file mode 100644 index 93c6b66..0000000 --- a/k8s/applications/templates/webrtc-be.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: webrtc-be -spec: - destination: - name: '' - namespace: webrtc-be - server: 'https://kubernetes.default.svc' - source: - helm: - valueFiles: - - values-{{ .Values.environment }}.yaml - path: k8s/webrtc-be - repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' - targetRevision: HEAD - project: default - syncPolicy: - syncOptions: - - CreateNamespace=true - automated: - prune: true - allowEmpty: false - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m \ No newline at end of file diff --git a/k8s/argocd/templates/ingress.yaml b/k8s/argocd/templates/ingress.yaml deleted file mode 100644 index 21f2b81..0000000 --- a/k8s/argocd/templates/ingress.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: argocd-server-ingress - namespace: argocd - annotations: - cert-manager.io/cluster-issuer: letsencrypt-nginx-production - kubernetes.io/ingress.class: nginx - kubernetes.io/tls-acme: "true" - nginx.ingress.kubernetes.io/ssl-passthrough: "true" - # If you encounter a redirect loop or are getting a 307 response code - # then you need to force the nginx ingress to connect to the backend using HTTPS. - # - nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" -spec: - rules: - - host: {{ .Values.hostname}} - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: argocd-server - port: - name: https - tls: - - hosts: - - {{ .Values.hostname}} - secretName: argocd-secret # do not change, this is provided by Argo CD \ No newline at end of file diff --git a/terraform/lke.tf b/terraform/lke.tf index 643892d..769f590 100644 --- a/terraform/lke.tf +++ b/terraform/lke.tf @@ -8,7 +8,7 @@ resource "linode_lke_cluster" "stg-video-cluster" { pool { type = "g6-standard-2" - count = 3 + count = 6 autoscaler { min = 3 max = 10