Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying helm install for a sample application consisting of two microservices. I have created a solution level folder called charts and all subsequent helm specific resources (as per Link). When I execute helm upgrade --install microsvc-poc--release . from C:\Users\username\source\repos\MicroservicePOC\charts\microservice-poc (where values.yml is) I get output showing that the release has been applied :

Terminal
Release "microsvc-poc--release" does not exist. Installing it now.
NAME: microsvc-poc--release
LAST DEPLOYED: Mon Jul 19 18:19:33 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None


but when I try to verify the release with kubetctl get deployments I dont see any resources for my two microservices . I only see the resource for minikube. I have run the command again as helm upgrade --install microsvc-poc--release --debug . and I get the following debug output :

Terminal
history.go:56: [debug] getting history for release microsvc-poc--release
upgrade.go:123: [debug] preparing upgrade for microsvc-poc--release
upgrade.go:131: [debug] performing update for microsvc-poc--release
upgrade.go:303: [debug] creating upgraded release for microsvc-poc--release
client.go:203: [debug] checking 0 resources for changes
upgrade.go:138: [debug] updating status for upgraded release for microsvc-poc--release
Release "microsvc-poc--release" has been upgraded. Happy Helming!
NAME: microsvc-poc--release
LAST DEPLOYED: Mon Jul 19 18:59:05 2021
NAMESPACE: default
STATUS: deployed
REVISION: 2
TEST SUITE: None
.........
.........
.........
HOOKS:
MANIFEST:


In values.yml I have :
C#
payments-app-service:


replicaCount: 3

  image:
    repository: golide/paymentsapi
    pullPolicy: IfNotPresent
    tag: "0.1.0"

  service:
    type: ClusterIP
    port: 80

  ingress:
    enabled: true
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: "/"
    hosts:
      - host: payments-svc.local
        paths: 
        - "/payments-app"

  autoscaling:
    enabled: false

  serviceAccount:
    create: false

products-app-service:
  replicaCount: 3

  image:
    repository: golide/productsapi
    pullPolicy: IfNotPresent
    tag: "0.1.0"

  service:
    type: ClusterIP
    port: 80

  ingress:
    enabled: true
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: "/"
    hosts:
      - host: products-svc.local
        paths: 
        - "/products-app"

  autoscaling:
    enabled: false

  serviceAccount:
    create: false


I have already generated the Docker images for the two microservices and I can make requests to the running instances using Postman.

What am I missing?

What I have tried:

I have tried running with --debug flag but the output shows no errors.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900