diff --git a/README.md b/README.md index 894014f..d519311 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ checking master commits details..this is for demo. - this is for demo + # Issuegen This rest app you can use for generating log and metric data using api as well as UI also for * API List diff --git a/kubernetes/.argocd-source-imageupdatetest2.yaml b/kubernetes/.argocd-source-imageupdatetest2.yaml new file mode 100644 index 0000000..122a77a --- /dev/null +++ b/kubernetes/.argocd-source-imageupdatetest2.yaml @@ -0,0 +1,3 @@ +kustomize: + images: + - docker.io/opsmxdev/issuegen:v3.9.8 diff --git a/kubernetes/deployment.yml b/kubernetes/deployment.yml new file mode 100644 index 0000000..969469f --- /dev/null +++ b/kubernetes/deployment.yml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: issuegen + name: issuegen +spec: + selector: + matchLabels: + app: issuegen + template: + metadata: + labels: + app: issuegen + code: red + spec: + containers: + - image: 'docker.io/opsmxdev/issuegen:v3.0.6' + name: issuegen + ports: + - containerPort: 8088 diff --git a/kubernetes/kustomization.yaml b/kubernetes/kustomization.yaml new file mode 100644 index 0000000..2a15594 --- /dev/null +++ b/kubernetes/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- deployment.yml +- service.yml diff --git a/kubernetes/service.yml b/kubernetes/service.yml new file mode 100644 index 0000000..52779b9 --- /dev/null +++ b/kubernetes/service.yml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: issuegen + argocd.argoproj.io/instance: issuegen + name: issuegen-svc +spec: + ports: + - port: 3100 + targetPort: 8088 + selector: + app: issuegen + type: ClusterIP