Initial commit: k3s deployment configurations
This commit is contained in:
5
k3s/kaifa/pj1test/nano
Normal file
5
k3s/kaifa/pj1test/nano
Normal file
@@ -0,0 +1,5 @@
|
||||
@app.route('/')
|
||||
def hello():
|
||||
pod_name = socket.gethostname()
|
||||
# 修改了这里的内容:
|
||||
return f"<h1>Hello Fei! (v2 from Private Registry)</h1><p>Running in Pod: <b>{pod_name}</b></p>"
|
||||
Reference in New Issue
Block a user