diff --git a/dev-upgrade/argo/argoci-release.yaml b/dev-upgrade/argo/argoci-release.yaml deleted file mode 100644 index a8a8b43..0000000 --- a/dev-upgrade/argo/argoci-release.yaml +++ /dev/null @@ -1,1322 +0,0 @@ -# This is an auto-generated file. DO NOT EDIT -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: clusterworkflowtemplates.argoproj.io -spec: - group: argoproj.io - names: - kind: ClusterWorkflowTemplate - listKind: ClusterWorkflowTemplateList - plural: clusterworkflowtemplates - shortNames: - - clusterwftmpl - - cwft - singular: clusterworkflowtemplate - scope: Cluster - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: cronworkflows.argoproj.io -spec: - group: argoproj.io - names: - kind: CronWorkflow - listKind: CronWorkflowList - plural: cronworkflows - shortNames: - - cwf - - cronwf - singular: cronworkflow - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - status: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: workflowartifactgctasks.argoproj.io -spec: - group: argoproj.io - names: - kind: WorkflowArtifactGCTask - listKind: WorkflowArtifactGCTaskList - plural: workflowartifactgctasks - shortNames: - - wfat - singular: workflowartifactgctask - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - status: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: workfloweventbindings.argoproj.io -spec: - group: argoproj.io - names: - kind: WorkflowEventBinding - listKind: WorkflowEventBindingList - plural: workfloweventbindings - shortNames: - - wfeb - singular: workfloweventbinding - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: workflows.argoproj.io -spec: - group: argoproj.io - names: - kind: Workflow - listKind: WorkflowList - plural: workflows - shortNames: - - wf - singular: workflow - scope: Namespaced - versions: - - additionalPrinterColumns: - - description: Status of the workflow - jsonPath: .status.phase - name: Status - type: string - - description: When the workflow was started - format: date-time - jsonPath: .status.startedAt - name: Age - type: date - - description: Human readable message indicating details about why the workflow - is in this condition. - jsonPath: .status.message - name: Message - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - status: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true - subresources: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: workflowtaskresults.argoproj.io -spec: - group: argoproj.io - names: - kind: WorkflowTaskResult - listKind: WorkflowTaskResultList - plural: workflowtaskresults - singular: workflowtaskresult - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - message: - type: string - metadata: - type: object - outputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - usernameSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - krbConfigConfigMap: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - krbKeytabSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - usernameSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - clientKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - clientSecretSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - securityToken: - type: string - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - bucket: - type: string - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - exitCode: - type: string - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - result: - type: string - type: object - phase: - type: string - progress: - type: string - required: - - metadata - type: object - served: true - storage: true ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: workflowtasksets.argoproj.io -spec: - group: argoproj.io - names: - kind: WorkflowTaskSet - listKind: WorkflowTaskSetList - plural: workflowtasksets - shortNames: - - wfts - singular: workflowtaskset - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - status: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: workflowtemplates.argoproj.io -spec: - group: argoproj.io - names: - kind: WorkflowTemplate - listKind: WorkflowTemplateList - plural: workflowtemplates - shortNames: - - wftmpl - singular: workflowtemplate - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true - required: - - metadata - - spec - type: object - served: true - storage: true ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: argo ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: argo-server ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: argo-role -rules: -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - get - - update -- apiGroups: - - "" - resources: - - pods - - pods/exec - verbs: - - create - - get - - list - - watch - - update - - patch - - delete -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - watch - - list -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - persistentvolumeclaims/finalizers - verbs: - - create - - update - - delete - - get -- apiGroups: - - argoproj.io - resources: - - workflows - - workflows/finalizers - - workflowtasksets - - workflowtasksets/finalizers - - workflowartifactgctasks - verbs: - - get - - list - - watch - - update - - patch - - delete - - create -- apiGroups: - - argoproj.io - resources: - - workflowtemplates - - workflowtemplates/finalizers - verbs: - - get - - list - - watch -- apiGroups: - - argoproj.io - resources: - - workflowtaskresults - verbs: - - list - - watch - - deletecollection -- apiGroups: - - "" - resources: - - serviceaccounts - verbs: - - get - - list -- apiGroups: - - "" - resources: - - secrets - verbs: - - get -- apiGroups: - - argoproj.io - resources: - - cronworkflows - - cronworkflows/finalizers - verbs: - - get - - list - - watch - - update - - patch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - policy - resources: - - poddisruptionbudgets - verbs: - - create - - get - - delete ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: argo-server-role -rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - watch - - list -- apiGroups: - - "" - resources: - - secrets - verbs: - - get - - create -- apiGroups: - - "" - resources: - - pods - - pods/exec - - pods/log - verbs: - - get - - list - - watch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - watch - - create - - patch -- apiGroups: - - "" - resources: - - serviceaccounts - verbs: - - get - - list - - watch -- apiGroups: - - argoproj.io - resources: - - eventsources - - sensors - - workflows - - workfloweventbindings - - workflowtemplates - - cronworkflows - - cronworkflows/finalizers - verbs: - - create - - get - - list - - watch - - update - - patch - - delete ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: argo-binding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: argo-role -subjects: -- kind: ServiceAccount - name: argo ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: argo-server-binding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: argo-server-role -subjects: -- kind: ServiceAccount - name: argo-server ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: workflow-controller-configmap - namespace: release -data: - resourceRateLimit: | - limit: 20 - burst: 1 - workflowDefaults: | - metadata: - annotations: - argo: workflows - spec: - parallelism: 100 - templateDefaults: - timeout: 1800s - executor: | - imagePullPolicy: IfNotPresent - resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 512Mi - args: - - --loglevel - - debug - - --gloglevel - - "6" - env: - # ARGO_TRACE enables some tracing information for debugging purposes. Currently it enables - # logging of S3 request/response payloads (including auth headers) - - name: ARGO_TRACE - value: "1" - metricsConfig: | - disableLegacy: true - enabled: true - path: /metrics - port: 9090 - persistence: | - connectionPool: - maxIdleConns: 100 - maxOpenConns: 0 - connMaxLifetime: 0s - nodeStatusOffLoad: true - archiveTTL: 30d - archive: true - skipMigration: true - mysql: - host: mysql.release.svc.cluster.local - port: 3306 - database: devops - tableName: argo_workflows - userNameSecret: - name: argo-mysql-config - key: username - passwordSecret: - name: argo-mysql-config - key: password - artifactRepository: | - # archiveLogs will archive the main container logs as an artifact - archiveLogs: true - s3: - bucket: bfs-devops-argo-release - keyFormat: "my-artifacts\ - /{{workflow.creationTimestamp.Y}}\ - /{{workflow.creationTimestamp.m}}\ - /{{workflow.creationTimestamp.d}}\ - /{{workflow.name}}\ - /{{pod.name}}" - endpoint: s3.amazonaws.com - region: eu-central-1 - insecure: false - accessKeySecret: - name: aws-s3-cred - key: accessKey - secretKeySecret: - name: aws-s3-cred - key: secretKey - ---- -apiVersion: v1 -kind: Secret -metadata: - labels: - app: mysql - name: argo-mysql-config - namespace: release -stringData: - password: devops - username: devops -type: Opaque ---- -apiVersion: v1 -kind: Secret -metadata: - name: aws-s3-cred - namespace: release -stringData: - accessKey: ----------- - secretKey: ----------- -type: Opaque ---- -apiVersion: v1 -kind: Service -metadata: - name: argo-server -spec: - ports: - - name: web - port: 2746 - targetPort: 2746 - selector: - app: argo-server ---- -apiVersion: scheduling.k8s.io/v1 -kind: PriorityClass -metadata: - name: workflow-controller -value: 1000000 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: argo-server -spec: - selector: - matchLabels: - app: argo-server - template: - metadata: - labels: - app: argo-server - spec: - containers: - - args: - - server - - --namespaced - - --auth-mode=server - - --event-operation-queue-size=32 - - --event-worker-count=8 - env: [] - image: quay.io/argoproj/argocli:v3.4.7 - name: argo-server - ports: - - containerPort: 2746 - name: web - readinessProbe: - httpGet: - path: / - port: 2746 - scheme: HTTPS - initialDelaySeconds: 10 - periodSeconds: 20 - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - runAsNonRoot: true - volumeMounts: - - mountPath: /tmp - name: tmp - nodeSelector: - kubernetes.io/os: linux - securityContext: - runAsNonRoot: true - serviceAccountName: argo-server - volumes: - - emptyDir: {} - name: tmp ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: workflow-controller -spec: - selector: - matchLabels: - app: workflow-controller - template: - metadata: - labels: - app: workflow-controller - spec: - containers: - - args: - - --namespaced - - --configmap - - workflow-controller-configmap - command: - - workflow-controller - env: - - name: LEADER_ELECTION_IDENTITY - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.name - image: quay.io/argoproj/workflow-controller:v3.4.7 - livenessProbe: - failureThreshold: 3 - httpGet: - path: /healthz - port: 6060 - initialDelaySeconds: 90 - periodSeconds: 60 - timeoutSeconds: 30 - name: workflow-controller - ports: - - containerPort: 9090 - name: metrics - - containerPort: 6060 - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - runAsNonRoot: true - nodeSelector: - kubernetes.io/os: linux - priorityClassName: workflow-controller - securityContext: - runAsNonRoot: true - serviceAccountName: argo diff --git a/dev-upgrade/argo/argoci-dev.yaml b/dev-upgrade/argo/argoci.yaml similarity index 100% rename from dev-upgrade/argo/argoci-dev.yaml rename to dev-upgrade/argo/argoci.yaml diff --git a/dev-upgrade/axons/axons-release.yaml b/dev-upgrade/axons/axons-release.yaml deleted file mode 100644 index ef3a6f6..0000000 --- a/dev-upgrade/axons/axons-release.yaml +++ /dev/null @@ -1,134 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: axonserver-properties -data: - axonserver.properties: | - axoniq.axonserver.name=dev-axonserver - axoniq.axonserver.hostname=dev-axonserver - axoniq.axonserver.devmode.enabled=false - axoniq.axonserver.snapshot.storage=/eventdata - axoniq.axonserver.controldb-path=/data - axoniq.axonserver.pid-file-location=/data - axoniq.axonserver.max-message-size=25000000 - axoniq.axonserver.accesscontrol.enabled=true - axoniq.axonserver.accesscontrol.token=a4338c69-ce24-4d0f-a779-e14c688067ae - axoniq.axonserver.accesscontrol.adminToken=a4338c69-ce24-4d0f-a779-e14c688067ae - logging.file=/data/axonserver.log - logging.file.max-history=10 - logging.file.max-size=10MB - ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: axons - labels: - app: axons -spec: - serviceName: axons - replicas: 1 - selector: - matchLabels: - app: axons - template: - metadata: - labels: - app: axons - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: app.kubernetes.io/name - operator: In - values: - - es-release - containers: - - name: axons - image: axoniq/axonserver:4.6.11 - imagePullPolicy: Always - ports: - - name: grpc - containerPort: 8124 - protocol: TCP - - name: http - containerPort: 8024 - protocol: TCP - volumeMounts: - - name: eventstore - mountPath: /eventdata - - name: data - mountPath: /data - - name: config - mountPath: /config/axonserver.properties - subPath: axonserver.properties - readOnly: true - readinessProbe: - httpGet: - port: http - path: /actuator/info - initialDelaySeconds: 30 - periodSeconds: 5 - timeoutSeconds: 1 - livenessProbe: - httpGet: - port: gui - path: /actuator/info - initialDelaySeconds: 60 - periodSeconds: 5 - timeoutSeconds: 1 - volumes: - - name: config - configMap: - name: axonserver-properties - volumeClaimTemplates: - - metadata: - name: eventstore - spec: - accessModes: [ "ReadWriteOnce" ] - resources: - requests: - storage: 5Gi - - metadata: - name: data - spec: - accessModes: [ "ReadWriteOnce" ] - resources: - requests: - storage: 1Gi - ---- -apiVersion: v1 -kind: Service -metadata: - name: axons-gui - labels: - app: axons -spec: - ports: - - name: gui - port: 8024 - targetPort: 8024 - nodePort: 30027 - selector: - app: axons - type: NodePort - sessionAffinity: ClientIP ---- -apiVersion: v1 -kind: Service -metadata: - name: axons-grpc - labels: - app: axons -spec: - ports: - - name: grpc - port: 8124 - targetPort: 8124 - clusterIP: None - selector: - app: axons diff --git a/dev-upgrade/elastic/elastic-release.yaml b/dev-upgrade/elastic/elastic-release.yaml deleted file mode 100644 index c864aa5..0000000 --- a/dev-upgrade/elastic/elastic-release.yaml +++ /dev/null @@ -1,180 +0,0 @@ ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: elastic-release-0 -spec: - storageClassName: local-elastic - capacity: - storage: 30Gi - accessModes: - - ReadWriteOnce - local: - path: /data/elastic-release/es_data - nodeAffinity: - required: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - bfs-k8snode-10-2-0-9.hetzner.base.beaconfireinc.com - ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: elastic-release-1 -spec: - storageClassName: local-elastic - capacity: - storage: 30Gi - accessModes: - - ReadWriteOnce - local: - path: /data/elastic-release/es_data - nodeAffinity: - required: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - bfs-k8snode-10-2-0-10.hetzner.base.beaconfireinc.com - ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: elastic-release-2 -spec: - storageClassName: local-elastic - capacity: - storage: 30Gi - accessModes: - - ReadWriteOnce - local: - path: /data/elastic-release/es_data - nodeAffinity: - required: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - bfs-k8snode-10-2-0-11.hetzner.base.beaconfireinc.com - ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: elastic -spec: - serviceName: elastic - replicas: 3 - selector: - matchLabels: - app: elastic - template: - metadata: - labels: - app: elastic - spec: - securityContext: - fsGroup: 100 - nodeSelector: - app.kubernetes.io/name: es-release - initContainers: - - name: init - image: busybox - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c", "sysctl -w vm.max_map_count=262144;chown -R 1000:1000 /usr/share/elasticsearch/data"] - securityContext: - privileged: true - volumeMounts: - - name: elastic-release - mountPath: /usr/share/elasticsearch/data - containers: - - name: elasticsearch - image: docker.elastic.co/elasticsearch/elasticsearch:8.8.0 - imagePullPolicy: IfNotPresent - ports: - - containerPort: 9200 - name: restful - - containerPort: 9300 - name: transport - env: - - name: cluster.name - value: bfs-elastic-release-1 - - name: network.host - value: 0.0.0.0 - - name: node.name - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: discovery.seed_hosts - value: "elastic-0.elastic,elastic-1.elastic,elastic-2.elastic" - - name: cluster.initial_master_nodes - value: "elastic-0,elastic-1,elastic-2" - - name: xpack.security.enabled - value: "false" - - name: xpack.monitoring.collection.enabled - value: "false" - - name: ES_JAVA_OPTS - value: "-Xms256m -Xmx256m" - - name: ELASTIC_PASSWORD - value: "changeme" - resources: - limits: - cpu: 2 - memory: 4Gi - requests: - cpu: 100m - memory: 128Mi - volumeMounts: - - name: elastic-release - mountPath: /usr/share/elasticsearch/data - volumeClaimTemplates: - - metadata: - name: elastic-release - spec: - accessModes: ['ReadWriteOnce'] - storageClassName: "local-elastic" - resources: - requests: - storage: 30Gi - ---- -apiVersion: v1 -kind: Service -metadata: - name: elastic-internel - labels: - app: elastic -spec: - ports: - - name: restful - port: 9200 - targetPort: 9200 - nodePort: 30029 - type: NodePort - selector: - app: elastic - ---- -apiVersion: v1 -kind: Service -metadata: - name: elastic - labels: - app: elastic -spec: - ports: - - name: restful - port: 9200 - - name: transport - port: 9300 - clusterIP: None - selector: - app: elastic - diff --git a/dev-upgrade/sevice-group/admin-console.yml b/dev-upgrade/sevice-group/admin-console.yml deleted file mode 100644 index 23a1447..0000000 --- a/dev-upgrade/sevice-group/admin-console.yml +++ /dev/null @@ -1,88 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: admin-console -data: - application.yml: | - spring: - application: - name: admin-console - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: admin-console -spec: - replicas: 1 - selector: - matchLabels: - app: admin-console - template: - metadata: - labels: - app: admin-console - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: admin-console - image: beaconfireiic/admin-console:1.0.0-prod - command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"] - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "admin-console" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: admin-console - - name: app-logs - hostPath: - path: /data/app_logs/admin-console ---- -apiVersion: v1 -kind: Service -metadata: - name: admin-console -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: admin-console \ No newline at end of file diff --git a/dev-upgrade/sevice-group/auth-middleware.yml b/dev-upgrade/sevice-group/auth-middleware.yml deleted file mode 100644 index 5e36f03..0000000 --- a/dev-upgrade/sevice-group/auth-middleware.yml +++ /dev/null @@ -1,88 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: auth-middleware -data: - application.yml: | - spring: - application: - name: auth-middleware - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: auth-middleware -spec: - replicas: 1 - selector: - matchLabels: - app: auth-middleware - template: - metadata: - labels: - app: auth-middleware - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: auth-middleware - image: beaconfireiic/auth-middleware:1.1.0-6-dev - command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.authmiddleware.AuthMiddlewareApplication"] - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "auth-middleware" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: auth-middleware - - name: app-logs - hostPath: - path: /data/app_logs/auth-middleware ---- -apiVersion: v1 -kind: Service -metadata: - name: auth-middleware -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: auth-middleware \ No newline at end of file diff --git a/dev-upgrade/sevice-group/auth.yaml b/dev-upgrade/sevice-group/auth.yaml deleted file mode 100644 index fe45ff2..0000000 --- a/dev-upgrade/sevice-group/auth.yaml +++ /dev/null @@ -1,62 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: auth -spec: - replicas: 1 - selector: - matchLabels: - app: auth - template: - metadata: - labels: - app: auth - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: auth - image: beaconfireiic/auth:1.1.1-sdet - command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.auth.AuthApplication"] - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "auth" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/auth ---- -apiVersion: v1 -kind: Service -metadata: - name: auth -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: auth \ No newline at end of file diff --git a/dev-upgrade/sevice-group/batch.yaml b/dev-upgrade/sevice-group/batch.yaml deleted file mode 100644 index 009710e..0000000 --- a/dev-upgrade/sevice-group/batch.yaml +++ /dev/null @@ -1,124 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: batch-command -spec: - replicas: 1 - selector: - matchLabels: - app: batch-command - template: - metadata: - labels: - app: batch-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: batch-command - image: beaconfireiic/batch-command:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "batch-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/batch-command ---- -apiVersion: v1 -kind: Service -metadata: - name: batch-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: batch-command - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: batch-query -spec: - replicas: 1 - selector: - matchLabels: - app: batch-query - template: - metadata: - labels: - app: batch-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: batch-query - image: beaconfireiic/batch-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "batch-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/batch-query ---- -apiVersion: v1 -kind: Service -metadata: - name: batch-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: batch-query \ No newline at end of file diff --git a/dev-upgrade/sevice-group/beaconfire-auth.yml b/dev-upgrade/sevice-group/beaconfire-auth.yml deleted file mode 100644 index 3922cb0..0000000 --- a/dev-upgrade/sevice-group/beaconfire-auth.yml +++ /dev/null @@ -1,88 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: beaconfire-auth -data: - application.yml: | - spring: - application: - name: beaconfire-auth - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: beaconfire-auth -spec: - replicas: 1 - selector: - matchLabels: - app: beaconfire-auth - template: - metadata: - labels: - app: beaconfire-auth - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: beaconfire-auth - image: beaconfireiic/beaconfire-auth:1.0.0-3-dev - command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.beaconfireauth.BeaconfireAuthApplication"] - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "beaconfire-auth" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: beaconfire-auth - - name: app-logs - hostPath: - path: /data/app_logs/beaconfire-auth ---- -apiVersion: v1 -kind: Service -metadata: - name: beaconfire-auth -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: beaconfire-auth \ No newline at end of file diff --git a/dev-upgrade/sevice-group/company.yaml b/dev-upgrade/sevice-group/company.yaml deleted file mode 100644 index 1be39b1..0000000 --- a/dev-upgrade/sevice-group/company.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: company-command -spec: - replicas: 1 - selector: - matchLabels: - app: company-command - template: - metadata: - labels: - app: company-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: company-command - image: beaconfireiic/company-command:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "company-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/company-command ---- -apiVersion: v1 -kind: Service -metadata: - name: company-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: company-command - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: company-query -spec: - replicas: 1 - selector: - matchLabels: - app: company-query - template: - metadata: - labels: - app: company-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: company-query - image: beaconfireiic/company-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "company-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/company-query ---- -apiVersion: v1 -kind: Service -metadata: - name: company-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: company-query \ No newline at end of file diff --git a/dev-upgrade/sevice-group/config-server.yaml b/dev-upgrade/sevice-group/config-server.yaml deleted file mode 100644 index fa04a46..0000000 --- a/dev-upgrade/sevice-group/config-server.yaml +++ /dev/null @@ -1,107 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-server -data: - application.yml: | - server: - port: 8888 - spring: - cloud: - config: - server: - git: - uri: https://github.com/beaconfire-projects/cloud-config.git - search-paths: - - '{application}' - - micro/* - username: zyu@beaconfireinc.com - password: ENC(5/I4EP0HwkLv/ZFigX3bmP+U/yR0HAOgWpbVg4tHuREz0G9CfOZzZfFTHA342PpoLYVkj924iqo=) - bus: - refresh: - enabled: true - trace: - enabled: true - stream: - kafka: - binder: - brokers: http://kafka-0-internal:9092,http://kafka-1-internal:9092, http://kafka-2-internal:9092 - - jasypt: - encryptor: - algorithm: PBEWithMD5AndDES - iv-generator-classname: org.jasypt.iv.NoIvGenerator - - management: - endpoints: - web: - exposure: - include: 'busrefresh' #refresh - - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: config-server -spec: - replicas: 1 - selector: - matchLabels: - app: config-server - template: - metadata: - labels: - app: config-server - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: config-server - image: beaconfireiic/config-server:1.1.1-prod - imagePullPolicy: Always - ports: - - name: http - containerPort: 8888 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8888" - - name: "LOG_APP-NAME" - value: "config-server" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 256Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: config-server - - name: app-logs - hostPath: - path: /data/app_logs/config-server ---- -apiVersion: v1 -kind: Service -metadata: - name: config-server -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8888 - targetPort: http - selector: - app: config-server diff --git a/dev-upgrade/sevice-group/discover-service.yaml b/dev-upgrade/sevice-group/discover-service.yaml deleted file mode 100644 index 20046d0..0000000 --- a/dev-upgrade/sevice-group/discover-service.yaml +++ /dev/null @@ -1,137 +0,0 @@ -# apiVersion: v1 -# kind: ConfigMap -# metadata: -# name: discovery-service -# data: - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: discovery-service -spec: - replicas: 1 - selector: - matchLabels: - app: discovery-service - template: - metadata: - labels: - app: discovery-service - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: discovery-service - image: beaconfireiic/service-discovery:1.1.0 - imagePullPolicy: Always - ports: - - name: http - containerPort: 8761 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "EUREKA_INSTANCE_HOSTNAME" - value: "discovery-service" - - name: "SERVER_PORT" - value: "8761" - - name: "LOG_APP-NAME" - value: "discovery-service" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/discovery-service ---- -apiVersion: v1 -kind: Service -metadata: - name: discovery-service -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8761 - targetPort: http - selector: - app: discovery-service - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: gateway -spec: - replicas: 1 - selector: - matchLabels: - app: gateway - template: - metadata: - labels: - app: gateway - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: gateway - image: beaconfireiic/gateway:1.1.0 - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "EUREKA_INSTANCE_HOSTNAME" - value: "discovery-service" - - name: "SERVER_PORT" - value: "8080" - - name: "EUREKA_CLIENT_SERVICE-URL_DEFAULT-ZONE" - value: "http://discovery-service:8761/eureka/" - - name: "LOG_APP-NAME" - value: "gateway" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/gateway ---- -apiVersion: v1 -kind: Service -metadata: - name: gateway -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: gateway diff --git a/dev-upgrade/sevice-group/email.yaml b/dev-upgrade/sevice-group/email.yaml deleted file mode 100644 index 06827ed..0000000 --- a/dev-upgrade/sevice-group/email.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: email-query -spec: - replicas: 1 - selector: - matchLabels: - app: email-query - template: - metadata: - labels: - app: email-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: email-query - image: beaconfireiic/email-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "email-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/email-query ---- -apiVersion: v1 -kind: Service -metadata: - name: email-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: email-query - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: email-config -spec: - replicas: 1 - selector: - matchLabels: - app: email-config - template: - metadata: - labels: - app: email-config - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: email-query - image: beaconfireiic/email-config:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "email-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/email-config ---- -apiVersion: v1 -kind: Service -metadata: - name: email-config -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: email-config diff --git a/dev-upgrade/sevice-group/file-service.yml b/dev-upgrade/sevice-group/file-service.yml deleted file mode 100644 index 739d551..0000000 --- a/dev-upgrade/sevice-group/file-service.yml +++ /dev/null @@ -1,88 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: file-service -data: - application.yml: | - spring: - application: - name: file-service - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: file-service -spec: - replicas: 1 - selector: - matchLabels: - app: file-service - template: - metadata: - labels: - app: file-service - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: file-service - image: beaconfireiic/file-service:1.0.0-prod - command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.fileservice.FileServiceApplication"] - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "file-service" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: file-service - - name: app-logs - hostPath: - path: /data/app_logs/file-service ---- -apiVersion: v1 -kind: Service -metadata: - name: file-service -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: file-service \ No newline at end of file diff --git a/dev-upgrade/sevice-group/kpi.yaml b/dev-upgrade/sevice-group/kpi.yaml deleted file mode 100644 index d55e172..0000000 --- a/dev-upgrade/sevice-group/kpi.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: kpi-command -spec: - replicas: 1 - selector: - matchLabels: - app: kpi-command - template: - metadata: - labels: - app: kpi-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: kpi-command - image: beaconfireiic/kpi-command:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "kpi-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/kpi-command ---- -apiVersion: v1 -kind: Service -metadata: - name: kpi-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: kpi-command - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: kpi-query -spec: - replicas: 1 - selector: - matchLabels: - app: kpi-query - template: - metadata: - labels: - app: kpi-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: kpi-query - image: beaconfireiic/kpi-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "kpi-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/kpi-query ---- -apiVersion: v1 -kind: Service -metadata: - name: kpi-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: kpi-query \ No newline at end of file diff --git a/dev-upgrade/sevice-group/oauth-service.yml b/dev-upgrade/sevice-group/oauth-service.yml deleted file mode 100644 index bb0ddf6..0000000 --- a/dev-upgrade/sevice-group/oauth-service.yml +++ /dev/null @@ -1,88 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: oauth-service -data: - application.yml: | - spring: - application: - name: oauth-service - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: oauth-service -spec: - replicas: 1 - selector: - matchLabels: - app: oauth-service - template: - metadata: - labels: - app: oauth-service - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: oauth-service - image: beaconfireiic/oauth-service:1.0.0-dev - command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.oauthservice.OauthServiceApplication"] - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "oauth-service" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: oauth-service - - name: app-logs - hostPath: - path: /data/app_logs/oauth-service ---- -apiVersion: v1 -kind: Service -metadata: - name: oauth-service -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: oauth-service \ No newline at end of file diff --git a/dev-upgrade/sevice-group/question.yaml b/dev-upgrade/sevice-group/question.yaml deleted file mode 100644 index f1336d9..0000000 --- a/dev-upgrade/sevice-group/question.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: question-command -spec: - replicas: 1 - selector: - matchLabels: - app: question-command - template: - metadata: - labels: - app: question-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: question-command - image: beaconfireiic/question-command:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "question-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/question-command ---- -apiVersion: v1 -kind: Service -metadata: - name: question-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: question-command - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: question-query -spec: - replicas: 1 - selector: - matchLabels: - app: question-query - template: - metadata: - labels: - app: question-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: question-query - image: beaconfireiic/question-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "question-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/question-query ---- -apiVersion: v1 -kind: Service -metadata: - name: question-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: question-query \ No newline at end of file diff --git a/dev-upgrade/sevice-group/recruiting.yml b/dev-upgrade/sevice-group/recruiting.yml deleted file mode 100644 index 0a2c44a..0000000 --- a/dev-upgrade/sevice-group/recruiting.yml +++ /dev/null @@ -1,265 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: recruiting-command -data: - application.yml: | - spring: - application: - name: recruiting-command - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: recruiting-command -spec: - replicas: 1 - selector: - matchLabels: - app: recruiting-command - template: - metadata: - labels: - app: recruiting-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: recruiting-command - image: beaconfireiic/recruiting-command:1.1.0-dev - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "recruiting-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: recruiting-command - - name: app-logs - hostPath: - path: /data/app_logs/recruiting-command ---- -apiVersion: v1 -kind: Service -metadata: - name: recruiting-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: recruiting-command - ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: recruiting-query -data: - application.yml: | - spring: - application: - name: recruiting-query - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: recruiting-query -spec: - replicas: 1 - selector: - matchLabels: - app: recruiting-query - template: - metadata: - labels: - app: recruiting-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: recruiting-query - image: beaconfireiic/recruiting-query:1.1.0-dev - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "recruiting-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: recruiting-query - - name: app-logs - hostPath: - path: /data/app_logs/recruiting-query ---- -apiVersion: v1 -kind: Service -metadata: - name: recruiting-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: recruiting-query - ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: recruit-config -data: - application.yml: | - spring: - application: - name: recruit-config - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: recruit-config -spec: - replicas: 1 - selector: - matchLabels: - app: recruit-config - template: - metadata: - labels: - app: recruit-config - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: recruit-config - image: beaconfireiic/recruit-config:1.1.0-dev - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "recruit-config" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: recruit-config - - name: app-logs - hostPath: - path: /data/app_logs/recruit-config ---- -apiVersion: v1 -kind: Service -metadata: - name: recruit-config -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: recruit-config \ No newline at end of file diff --git a/dev-upgrade/sevice-group/subscription.yaml b/dev-upgrade/sevice-group/subscription.yaml deleted file mode 100644 index 7b5c7fe..0000000 --- a/dev-upgrade/sevice-group/subscription.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: subscription-command -spec: - replicas: 1 - selector: - matchLabels: - app: subscription-command - template: - metadata: - labels: - app: subscription-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: subscription-command - image: beaconfireiic/subscription-command:1.1.1-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "subscription-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/subscription-command ---- -apiVersion: v1 -kind: Service -metadata: - name: subscription-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: subscription-command - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: subscription-query -spec: - replicas: 1 - selector: - matchLabels: - app: subscription-query - template: - metadata: - labels: - app: subscription-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: subscription-query - image: beaconfireiic/subscription-query:1.1.1-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "subscription-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/subscription-query ---- -apiVersion: v1 -kind: Service -metadata: - name: subscription-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: subscription-query \ No newline at end of file diff --git a/dev-upgrade/sevice-group/summary.yaml b/dev-upgrade/sevice-group/summary.yaml deleted file mode 100644 index d988c58..0000000 --- a/dev-upgrade/sevice-group/summary.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: summary-query -spec: - replicas: 1 - selector: - matchLabels: - app: summary-query - template: - metadata: - labels: - app: summary-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: summary-query - image: beaconfireiic/summary-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "summary-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/summary-query ---- -apiVersion: v1 -kind: Service -metadata: - name: summary-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: summary-query diff --git a/dev-upgrade/sevice-group/timesheet.yaml b/dev-upgrade/sevice-group/timesheet.yaml deleted file mode 100644 index 82cb423..0000000 --- a/dev-upgrade/sevice-group/timesheet.yaml +++ /dev/null @@ -1,265 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: time-sheet-command -data: - application.yml: | - spring: - application: - name: time-sheet-command - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: time-sheet-command -spec: - replicas: 1 - selector: - matchLabels: - app: time-sheet-command - template: - metadata: - labels: - app: time-sheet-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: time-sheet-command - image: beaconfireiic/time-sheet-command:1.0.0-dev - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "time-sheet-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: time-sheet-command - - name: app-logs - hostPath: - path: /data/app_logs/time-sheet-command ---- -apiVersion: v1 -kind: Service -metadata: - name: time-sheet-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: time-sheet-command - ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: time-sheet-query -data: - application.yml: | - spring: - application: - name: time-sheet-query - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: time-sheet-query -spec: - replicas: 1 - selector: - matchLabels: - app: time-sheet-query - template: - metadata: - labels: - app: time-sheet-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: time-sheet-query - image: beaconfireiic/time-sheet-query:1.0.0-dev - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "time-sheet-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: time-sheet-query - - name: app-logs - hostPath: - path: /data/app_logs/time-sheet-query ---- -apiVersion: v1 -kind: Service -metadata: - name: time-sheet-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: time-sheet-query - ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: time-sheet-config -data: - application.yml: | - spring: - application: - name: time-sheet-config - profiles: - active: dev - cloud: - config: - label: main - config: - import: optional:configserver:http://config-server:8888 - springdoc: - api-docs: - enabled: false ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: time-sheet-config -spec: - replicas: 1 - selector: - matchLabels: - app: time-sheet-config - template: - metadata: - labels: - app: time-sheet-config - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: time-sheet-config - image: beaconfireiic/time-sheet-config:1.0.0-dev - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "time-sheet-config" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: config - mountPath: /app/application.yml - subPath: application.yml - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: config - configMap: - name: time-sheet-config - - name: app-logs - hostPath: - path: /data/app_logs/time-sheet-config ---- -apiVersion: v1 -kind: Service -metadata: - name: time-sheet-config -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: time-sheet-config \ No newline at end of file diff --git a/dev-upgrade/sevice-group/user.yaml b/dev-upgrade/sevice-group/user.yaml deleted file mode 100644 index e547c31..0000000 --- a/dev-upgrade/sevice-group/user.yaml +++ /dev/null @@ -1,125 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: user-query -spec: - replicas: 1 - selector: - matchLabels: - app: user-query - template: - metadata: - labels: - app: user-query - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: user-query - image: beaconfireiic/user-query:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "user-query" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/user-query ---- -apiVersion: v1 -kind: Service -metadata: - name: user-query -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: user-query - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: user-command -spec: - replicas: 1 - selector: - matchLabels: - app: user-command - template: - metadata: - labels: - app: user-command - spec: - imagePullSecrets: - - name: deploy-regcred - containers: - - name: user-command - image: beaconfireiic/user-command:1.1.0-sdet - imagePullPolicy: Always - ports: - - name: http - containerPort: 8080 - protocol: TCP - env: - - name: "LOGGING_LEVEL_ROOT" - value: "info" - - name: "SERVER_PORT" - value: "8080" - - name: "LOG_APP-NAME" - value: "user-command" - - name: "SPRING_PROFILES_ACTIVE" - value: "dev" - volumeMounts: - - name: app-logs - mountPath: /logs - resources: - requests: - cpu: 0.1 - memory: 128Mi - limits: - cpu: 1 - memory: 2Gi - volumes: - - name: app-logs - hostPath: - path: /data/app_logs/user-command ---- -apiVersion: v1 -kind: Service -metadata: - name: user-command -spec: - type: ClusterIP - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: http - selector: - app: user-command \ No newline at end of file diff --git a/qa-upgrade/axons/axonserver.yaml b/qa-upgrade/axons/axonserver.yaml index b91c588..e8b7ae9 100644 --- a/qa-upgrade/axons/axonserver.yaml +++ b/qa-upgrade/axons/axonserver.yaml @@ -5,8 +5,8 @@ metadata: name: axonserver-properties data: axonserver.properties: | - axoniq.axonserver.name=dev-axonserver - axoniq.axonserver.hostname=dev-axonserver + axoniq.axonserver.name=qa-axonserver + axoniq.axonserver.hostname=qa-axonserver axoniq.axonserver.devmode.enabled=false axoniq.axonserver.snapshot.storage=/eventdata axoniq.axonserver.controldb-path=/data @@ -112,7 +112,7 @@ spec: - name: gui port: 8024 targetPort: 8024 - # nodePort: 30027 + nodePort: 30027 selector: app: axons type: NodePort