diff --git a/target/classes/application.properties b/target/classes/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/target/classes/application.properties @@ -0,0 +1 @@ + diff --git a/target/classes/com/javatechie/k8s/SpringbootK8sDemoApplication.class b/target/classes/com/javatechie/k8s/SpringbootK8sDemoApplication.class new file mode 100644 index 0000000..f79aa7c Binary files /dev/null and b/target/classes/com/javatechie/k8s/SpringbootK8sDemoApplication.class differ diff --git a/target/classes/deployment.yaml b/target/classes/deployment.yaml new file mode 100644 index 0000000..549af5c --- /dev/null +++ b/target/classes/deployment.yaml @@ -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. \ No newline at end of file diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..72b2f43 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,3 @@ +artifactId=springboot-k8s-demo +groupId=com.javatechie +version=0.0.1-SNAPSHOT diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..8277ea3 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +com/javatechie/k8s/SpringbootK8sDemoApplication.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..63535fb --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +/Users/vinoj/Documents/javatechie-git/springboot-k8s-yaml/src/main/java/com/javatechie/k8s/SpringbootK8sDemoApplication.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..5f7143f --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1 @@ +com/javatechie/k8s/SpringbootK8sDemoApplicationTests.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..4c73abd --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +/Users/vinoj/Documents/javatechie-git/springboot-k8s-yaml/src/test/java/com/javatechie/k8s/SpringbootK8sDemoApplicationTests.java diff --git a/target/springboot-k8s-demo.jar b/target/springboot-k8s-demo.jar new file mode 100755 index 0000000..c886d1f Binary files /dev/null and b/target/springboot-k8s-demo.jar differ diff --git a/target/springboot-k8s-demo.jar.original b/target/springboot-k8s-demo.jar.original new file mode 100644 index 0000000..4e22c61 Binary files /dev/null and b/target/springboot-k8s-demo.jar.original differ diff --git a/target/surefire-reports/TEST-com.javatechie.k8s.SpringbootK8sDemoApplicationTests.xml b/target/surefire-reports/TEST-com.javatechie.k8s.SpringbootK8sDemoApplicationTests.xml new file mode 100644 index 0000000..a472115 --- /dev/null +++ b/target/surefire-reports/TEST-com.javatechie.k8s.SpringbootK8sDemoApplicationTests.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/com.javatechie.k8s.SpringbootK8sDemoApplicationTests.txt b/target/surefire-reports/com.javatechie.k8s.SpringbootK8sDemoApplicationTests.txt new file mode 100644 index 0000000..4d70c1e --- /dev/null +++ b/target/surefire-reports/com.javatechie.k8s.SpringbootK8sDemoApplicationTests.txt @@ -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 diff --git a/target/test-classes/com/javatechie/k8s/SpringbootK8sDemoApplicationTests.class b/target/test-classes/com/javatechie/k8s/SpringbootK8sDemoApplicationTests.class new file mode 100644 index 0000000..644936e Binary files /dev/null and b/target/test-classes/com/javatechie/k8s/SpringbootK8sDemoApplicationTests.class differ