This commit is contained in:
bamanker
2025-12-23 15:31:20 +08:00
commit 6387155fa5
12 changed files with 681 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package com.bamanker.myk3stest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Myk3sTestApplication {
public static void main(String[] args) {
SpringApplication.run(Myk3sTestApplication.class, args);
}
}

View File

@@ -0,0 +1,12 @@
package com.bamanker.myk3stest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestController {
@RequestMapping("/test")
public String test() {
return "Hello K3S APP!";
}
}

View File

@@ -0,0 +1,2 @@
server:
port: 9090

View File

@@ -0,0 +1,13 @@
package com.bamanker.myk3stest;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class Myk3sTestApplicationTests {
@Test
void contextLoads() {
}
}