This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-samples.git


The following commit(s) were added to refs/heads/main by this push:
     new 266489b  add k8s port check (#106)
266489b is described below

commit 266489b78af210ed04fac0d6daf8018ff2be2912
Author: PJ Fanning <[email protected]>
AuthorDate: Sat May 11 14:45:02 2024 +0100

    add k8s port check (#106)
    
    * add k8s port check
    
    * Update 
pekko-sample-cluster-kubernetes-java/src/main/resources/application.conf
    
    Co-authored-by: AndyChen(Jingzhang) <[email protected]>
    
    * Update 
pekko-sample-cluster-kubernetes-scala/src/main/resources/application.conf
    
    Co-authored-by: AndyChen(Jingzhang) <[email protected]>
    
    * update the comment for user understanding
    
    ---------
    
    Co-authored-by: AndyChen(Jingzhang) <[email protected]>
---
 .../src/main/resources/application.conf                              | 5 +++++
 .../src/main/resources/application.conf                              | 5 +++++
 2 files changed, 10 insertions(+)

diff --git 
a/pekko-sample-cluster-kubernetes-java/src/main/resources/application.conf 
b/pekko-sample-cluster-kubernetes-java/src/main/resources/application.conf
index 69e0f56..b3db30a 100644
--- a/pekko-sample-cluster-kubernetes-java/src/main/resources/application.conf
+++ b/pekko-sample-cluster-kubernetes-java/src/main/resources/application.conf
@@ -33,4 +33,9 @@ pekko.management {
       example-ready = org.apache.pekko.cluster.bootstrap.demo.DemoHealthCheck
     }
   }
+  # Expose port for Kubernetes health check probing.
+  http {
+    port = 7626
+    bind-hostname = "0.0.0.0"
+  }
 }
diff --git 
a/pekko-sample-cluster-kubernetes-scala/src/main/resources/application.conf 
b/pekko-sample-cluster-kubernetes-scala/src/main/resources/application.conf
index aaf3bc9..44b6295 100644
--- a/pekko-sample-cluster-kubernetes-scala/src/main/resources/application.conf
+++ b/pekko-sample-cluster-kubernetes-scala/src/main/resources/application.conf
@@ -29,4 +29,9 @@ pekko.management {
       example-ready = 
org.apache.pekko.sample.cluster.kubernetes.DemoHealthCheck
     }
   }
+  # Expose port for Kubernetes health check probing.
+  http {
+    port = 7626
+    bind-hostname = "0.0.0.0"
+  }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to