aboutsummaryrefslogtreecommitdiff
path: root/k8s
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-10-23 13:16:05 -0400
committerGitHub <noreply@github.com>2019-10-23 13:16:05 -0400
commit267176954fbfcab087cf269acc0155dae7a21fc8 (patch)
tree1be734b354fedd41794988ffaf8b81bf1b56957d /k8s
parentfae0178698db7b98d77ba67af2cf4a4446c2e5e6 (diff)
downloadxesite-267176954fbfcab087cf269acc0155dae7a21fc8.tar.xz
xesite-267176954fbfcab087cf269acc0155dae7a21fc8.zip
Update/go1.13.3 (#87)
* Update to go 1.13.3, remove old files, ping bing/google search * remove old lines, oops
Diffstat (limited to 'k8s')
-rw-r--r--k8s/job.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/k8s/job.yml b/k8s/job.yml
new file mode 100644
index 0000000..e5cf4eb
--- /dev/null
+++ b/k8s/job.yml
@@ -0,0 +1,31 @@
+apiVersion: batch/v1
+kind: Job
+metadata:
+ name: christinewebsite-ping
+ namespace: apps
+ labels:
+ app: christinewebsite
+spec:
+ template:
+ spec:
+ containers:
+ - name: ping-bing
+ image: xena/alpine
+ command:
+ - "busybox"
+ - "wget"
+ - "-O"
+ - "-"
+ - "-q"
+ - "https://www.bing.com/ping?sitemap=https://christine.website/sitemap.xml"
+ - name: ping-google
+ image: xena/alpine
+ command:
+ - "busybox"
+ - "wget"
+ - "-O"
+ - "-"
+ - "-q"
+ - "https://www.google.com/ping?sitemap=https://christine.website/sitemap.xml"
+ restartPolicy: Never
+ backoffLimit: 4