Skip to content

please include target folder which contain jar file for this project … #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions target/classes/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file not shown.
33 changes: 33 additions & 0 deletions target/classes/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment # Kubernetes resource kind we are creating
metadata:
name: spring-boot-k8s
spec:
selector:
matchLabels:
app: spring-boot-k8s
replicas: 2 # Number of replicas that will be created for this deployment
template:
metadata:
labels:
app: spring-boot-k8s
spec:
containers:
- name: spring-boot-k8s
image: springboot-k8s-sample:1.0 # Image that will be used to containers in the cluster
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080 # The port that the container is running on in the cluster
---
apiVersion: v1 # Kubernetes API version
kind: Service # Kubernetes resource kind we are creating
metadata: # Metadata of the resource kind we are creating
name: springboot-k8s-svc
spec:
selector:
app: spring-boot-k8s
ports:
- protocol: "TCP"
port: 8080 # The port that the service is running on in the cluster
targetPort: 8080 # The port exposed by the service
type: NodePort # type of the service.
3 changes: 3 additions & 0 deletions target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
artifactId=springboot-k8s-demo
groupId=com.javatechie
version=0.0.1-SNAPSHOT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com/javatechie/k8s/SpringbootK8sDemoApplication.class
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Users/vinoj/Documents/javatechie-git/springboot-k8s-yaml/src/main/java/com/javatechie/k8s/SpringbootK8sDemoApplication.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com/javatechie/k8s/SpringbootK8sDemoApplicationTests.class
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Users/vinoj/Documents/javatechie-git/springboot-k8s-yaml/src/test/java/com/javatechie/k8s/SpringbootK8sDemoApplicationTests.java
Binary file added target/springboot-k8s-demo.jar
Binary file not shown.
Binary file added target/springboot-k8s-demo.jar.original
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.javatechie.k8s.SpringbootK8sDemoApplicationTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.146 s - in com.javatechie.k8s.SpringbootK8sDemoApplicationTests
Binary file not shown.