add ns networkpolicy
This commit is contained in:
17
test/network/manifests/test-job.yaml
Normal file
17
test/network/manifests/test-job.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: test-connect
|
||||
namespace: production
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
color : blue
|
||||
spec:
|
||||
containers:
|
||||
- name: test-connect
|
||||
image: alpine
|
||||
command: ["ping", "10.17.30.131"]
|
||||
restartPolicy: Never
|
||||
backoffLimit: 1
|
||||
Reference in New Issue
Block a user