From 00e5d1456ccc6f55a9e22465397bbbf6ffbe5ff6 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 07:47:00 +0700 Subject: [PATCH 01/13] insert add --- index.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 000000000..fe3144730 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +fdfd From cfaef92da8af42a80fb5df4248ed7714d11f0f7d Mon Sep 17 00:00:00 2001 From: irvan febriansyah Date: Tue, 24 Oct 2023 09:32:00 +0700 Subject: [PATCH 02/13] Delete index.js --- index.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index fe3144730..000000000 --- a/index.js +++ /dev/null @@ -1 +0,0 @@ -fdfd From 2e50cb8c7df3dcdcca064c3eb424f44af56bef97 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:34:13 +0700 Subject: [PATCH 03/13] tes --- index.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 000000000..ccfd034bd --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +dsdsds From a27f1b87a284665266d770d4f00c42c6c75a522a Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:46:21 +0700 Subject: [PATCH 04/13] tes --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ccfd034bd..4c83bfd20 100644 --- a/index.js +++ b/index.js @@ -1 +1 @@ -dsdsds +fdfdfdsdsds From 4e0c860692ef6a8c5a19e3c96dc369a78c87d575 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:48:40 +0700 Subject: [PATCH 05/13] add order-service --- order-service/order-service-deployment.yaml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 order-service/order-service-deployment.yaml diff --git a/order-service/order-service-deployment.yaml b/order-service/order-service-deployment.yaml new file mode 100644 index 000000000..364d6bbb5 --- /dev/null +++ b/order-service/order-service-deployment.yaml @@ -0,0 +1,27 @@ + apiVersion: apps/v1 # Specifies the API version being used (apps/v1 in this case). + kind: Deployment # Defines the Kubernetes resource type as a Deployment. + metadata: + name: order-service-deploy # Name of the Deployment resource + spec: + replicas: 1 # Specifies the desired number of replicas for the Deployment + selector: + matchLabels: + app: order-service # Selects Pods based on the app label with the value order-service + template: + metadata: + labels: + app: order-service # Labels the Pods created by this template with the app label and value order-service + spec: + containers: + - name: order-service # Name of the container within the Pod + image: ghcr.io/irvanfebri/order-service:latest # Docker image used for the container + ports: + - containerPort: 3000 # Port on which the container listens for incoming traffic + env: + - name: AMQP_PASSWORD # Environmental variable name for the RabbitMQ password + valueFrom: + secretKeyRef: + name: my-rabbitmq # Name of the Secret containing the RabbitMQ password + key: rabbitmq-password # Key within the Secret to retrieve the RabbitMQ password + - name: AMQP_URL # Environmental variable name for the RabbitMQ URL + value: "amqp://user:$(AMQP_PASSWORD)@my-rabbitmq:5672" # Value for the RabbitMQ URL, including the username, password, and host From 6d90d18a3cb29f08a6ee082276ddb7dd50a83517 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:52:24 +0700 Subject: [PATCH 06/13] add kubernetes --- order-service-deployment.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 order-service-deployment.yaml diff --git a/order-service-deployment.yaml b/order-service-deployment.yaml new file mode 100644 index 000000000..d64037e51 --- /dev/null +++ b/order-service-deployment.yaml @@ -0,0 +1,27 @@ + apiVersion: apps/v1 # Specifies the API version being used (apps/v1 in this case). + kind: Deployment # Defines the Kubernetes resource type as a Deployment. + metadata: + name: order-service-deploy # Name of the Deployment resource + spec: + replicas: 1 # Specifies the desired number of replicas for the Deployment + selector: + matchLabels: + app: order-service # Selects Pods based on the app label with the value order-service + template: + metadata: + labels: + app: order-service # Labels the Pods created by this template with the app label and value order-service + spec: + containers: + - name: order-service # Name of the container within the Pod + image: ghcr.io/lareza-farhan-wanaghi/order-service:latest # Docker image used for the container + ports: + - containerPort: 3000 # Port on which the container listens for incoming traffic + env: + - name: AMQP_PASSWORD # Environmental variable name for the RabbitMQ password + valueFrom: + secretKeyRef: + name: my-rabbitmq # Name of the Secret containing the RabbitMQ password + key: rabbitmq-password # Key within the Secret to retrieve the RabbitMQ password + - name: AMQP_URL # Environmental variable name for the RabbitMQ URL + value: "amqp://user:$(AMQP_PASSWORD)@my-rabbitmq:5672" # Value for the RabbitMQ URL, including the username, password, and host From d802a80ee9d0b6ab0630cecfae63dd3801a7e2b2 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:53:49 +0700 Subject: [PATCH 07/13] replace svc --- README.md | 2 -- index.js | 1 - order-service-deployment.yaml | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 README.md delete mode 100644 index.js diff --git a/README.md b/README.md deleted file mode 100644 index 96ca8c917..000000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# a433-microservices -Repository ini digunakan untuk kebutuhan kelas Belajar Membangun Arsitektur Microservices diff --git a/index.js b/index.js deleted file mode 100644 index ccfd034bd..000000000 --- a/index.js +++ /dev/null @@ -1 +0,0 @@ -dsdsds diff --git a/order-service-deployment.yaml b/order-service-deployment.yaml index d64037e51..364d6bbb5 100644 --- a/order-service-deployment.yaml +++ b/order-service-deployment.yaml @@ -14,7 +14,7 @@ spec: containers: - name: order-service # Name of the container within the Pod - image: ghcr.io/lareza-farhan-wanaghi/order-service:latest # Docker image used for the container + image: ghcr.io/irvanfebri/order-service:latest # Docker image used for the container ports: - containerPort: 3000 # Port on which the container listens for incoming traffic env: From 3f5233de2ba59f87e0214473f3d4bcae0f11a894 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:56:37 +0700 Subject: [PATCH 08/13] add order service --- order-service/order-service-deployment.yaml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 order-service/order-service-deployment.yaml diff --git a/order-service/order-service-deployment.yaml b/order-service/order-service-deployment.yaml new file mode 100644 index 000000000..364d6bbb5 --- /dev/null +++ b/order-service/order-service-deployment.yaml @@ -0,0 +1,27 @@ + apiVersion: apps/v1 # Specifies the API version being used (apps/v1 in this case). + kind: Deployment # Defines the Kubernetes resource type as a Deployment. + metadata: + name: order-service-deploy # Name of the Deployment resource + spec: + replicas: 1 # Specifies the desired number of replicas for the Deployment + selector: + matchLabels: + app: order-service # Selects Pods based on the app label with the value order-service + template: + metadata: + labels: + app: order-service # Labels the Pods created by this template with the app label and value order-service + spec: + containers: + - name: order-service # Name of the container within the Pod + image: ghcr.io/irvanfebri/order-service:latest # Docker image used for the container + ports: + - containerPort: 3000 # Port on which the container listens for incoming traffic + env: + - name: AMQP_PASSWORD # Environmental variable name for the RabbitMQ password + valueFrom: + secretKeyRef: + name: my-rabbitmq # Name of the Secret containing the RabbitMQ password + key: rabbitmq-password # Key within the Secret to retrieve the RabbitMQ password + - name: AMQP_URL # Environmental variable name for the RabbitMQ URL + value: "amqp://user:$(AMQP_PASSWORD)@my-rabbitmq:5672" # Value for the RabbitMQ URL, including the username, password, and host From 877227efa5f544092ab5e96e73ea67bdd5f5f202 Mon Sep 17 00:00:00 2001 From: irvanfebri Date: Tue, 24 Oct 2023 09:58:41 +0700 Subject: [PATCH 09/13] delete order v1.1 --- order-service-deployment.yaml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 order-service-deployment.yaml diff --git a/order-service-deployment.yaml b/order-service-deployment.yaml deleted file mode 100644 index 364d6bbb5..000000000 --- a/order-service-deployment.yaml +++ /dev/null @@ -1,27 +0,0 @@ - apiVersion: apps/v1 # Specifies the API version being used (apps/v1 in this case). - kind: Deployment # Defines the Kubernetes resource type as a Deployment. - metadata: - name: order-service-deploy # Name of the Deployment resource - spec: - replicas: 1 # Specifies the desired number of replicas for the Deployment - selector: - matchLabels: - app: order-service # Selects Pods based on the app label with the value order-service - template: - metadata: - labels: - app: order-service # Labels the Pods created by this template with the app label and value order-service - spec: - containers: - - name: order-service # Name of the container within the Pod - image: ghcr.io/irvanfebri/order-service:latest # Docker image used for the container - ports: - - containerPort: 3000 # Port on which the container listens for incoming traffic - env: - - name: AMQP_PASSWORD # Environmental variable name for the RabbitMQ password - valueFrom: - secretKeyRef: - name: my-rabbitmq # Name of the Secret containing the RabbitMQ password - key: rabbitmq-password # Key within the Secret to retrieve the RabbitMQ password - - name: AMQP_URL # Environmental variable name for the RabbitMQ URL - value: "amqp://user:$(AMQP_PASSWORD)@my-rabbitmq:5672" # Value for the RabbitMQ URL, including the username, password, and host From ab4668acc8425d9f2c448448035c36d5597216a0 Mon Sep 17 00:00:00 2001 From: irvan febriansyah Date: Tue, 24 Oct 2023 10:10:29 +0700 Subject: [PATCH 10/13] Delete order-service directory --- order-service/order-service-deployment.yaml | 27 --------------------- 1 file changed, 27 deletions(-) delete mode 100644 order-service/order-service-deployment.yaml diff --git a/order-service/order-service-deployment.yaml b/order-service/order-service-deployment.yaml deleted file mode 100644 index 364d6bbb5..000000000 --- a/order-service/order-service-deployment.yaml +++ /dev/null @@ -1,27 +0,0 @@ - apiVersion: apps/v1 # Specifies the API version being used (apps/v1 in this case). - kind: Deployment # Defines the Kubernetes resource type as a Deployment. - metadata: - name: order-service-deploy # Name of the Deployment resource - spec: - replicas: 1 # Specifies the desired number of replicas for the Deployment - selector: - matchLabels: - app: order-service # Selects Pods based on the app label with the value order-service - template: - metadata: - labels: - app: order-service # Labels the Pods created by this template with the app label and value order-service - spec: - containers: - - name: order-service # Name of the container within the Pod - image: ghcr.io/irvanfebri/order-service:latest # Docker image used for the container - ports: - - containerPort: 3000 # Port on which the container listens for incoming traffic - env: - - name: AMQP_PASSWORD # Environmental variable name for the RabbitMQ password - valueFrom: - secretKeyRef: - name: my-rabbitmq # Name of the Secret containing the RabbitMQ password - key: rabbitmq-password # Key within the Secret to retrieve the RabbitMQ password - - name: AMQP_URL # Environmental variable name for the RabbitMQ URL - value: "amqp://user:$(AMQP_PASSWORD)@my-rabbitmq:5672" # Value for the RabbitMQ URL, including the username, password, and host From 1605a7b80dabaaa612a1c397fdafb3247b35a2d5 Mon Sep 17 00:00:00 2001 From: irvan febriansyah Date: Tue, 24 Oct 2023 10:10:43 +0700 Subject: [PATCH 11/13] Delete README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 96ca8c917..000000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# a433-microservices -Repository ini digunakan untuk kebutuhan kelas Belajar Membangun Arsitektur Microservices From 8ec501e4cea32219289b5fe34e3e66a9056810ae Mon Sep 17 00:00:00 2001 From: irvan febriansyah Date: Tue, 24 Oct 2023 10:10:50 +0700 Subject: [PATCH 12/13] Delete index.js --- index.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index 4c83bfd20..000000000 --- a/index.js +++ /dev/null @@ -1 +0,0 @@ -fdfdfdsdsds From 929a6c3b59e5ea8fe8f4deca3f5f98455222b938 Mon Sep 17 00:00:00 2001 From: irvan febriansyah Date: Tue, 24 Oct 2023 10:17:07 +0700 Subject: [PATCH 13/13] Delete order-service directory --- order-service/order-service-deployment.yaml | 27 --------------------- 1 file changed, 27 deletions(-) delete mode 100644 order-service/order-service-deployment.yaml diff --git a/order-service/order-service-deployment.yaml b/order-service/order-service-deployment.yaml deleted file mode 100644 index 364d6bbb5..000000000 --- a/order-service/order-service-deployment.yaml +++ /dev/null @@ -1,27 +0,0 @@ - apiVersion: apps/v1 # Specifies the API version being used (apps/v1 in this case). - kind: Deployment # Defines the Kubernetes resource type as a Deployment. - metadata: - name: order-service-deploy # Name of the Deployment resource - spec: - replicas: 1 # Specifies the desired number of replicas for the Deployment - selector: - matchLabels: - app: order-service # Selects Pods based on the app label with the value order-service - template: - metadata: - labels: - app: order-service # Labels the Pods created by this template with the app label and value order-service - spec: - containers: - - name: order-service # Name of the container within the Pod - image: ghcr.io/irvanfebri/order-service:latest # Docker image used for the container - ports: - - containerPort: 3000 # Port on which the container listens for incoming traffic - env: - - name: AMQP_PASSWORD # Environmental variable name for the RabbitMQ password - valueFrom: - secretKeyRef: - name: my-rabbitmq # Name of the Secret containing the RabbitMQ password - key: rabbitmq-password # Key within the Secret to retrieve the RabbitMQ password - - name: AMQP_URL # Environmental variable name for the RabbitMQ URL - value: "amqp://user:$(AMQP_PASSWORD)@my-rabbitmq:5672" # Value for the RabbitMQ URL, including the username, password, and host