Skip to content

Commit 790c615

Browse files
authored
Jekyll 💀 (#102)
1 parent cf5d911 commit 790c615

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎_posts/2022-09-21-maplectf-infra.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ Each challenge had it's own horizontal pod autoscaler (HPA). The baseline was se
9191

9292
Here is an example challenge deployment:
9393

94-
<details>
95-
<summary>Challenge Deployment</summary>
94+
<details markdown="block">
95+
<summary markdown="span">Challenge Deployment</summary>
9696

9797
~~~
9898
apiVersion: apps/v1
@@ -184,8 +184,8 @@ I ran any jobs that would update the infrastructure here instead of on Jenkins b
184184

185185
Here is my action for updating the cluster:
186186

187-
<details>
188-
<summary>Update Cluster</summary>
187+
<details markdown="block">
188+
<summary markdown="span">Update Cluster</summary>
189189

190190
~~~
191191
name: Update cluster
@@ -357,8 +357,8 @@ I made a Jenkins instance just for this CTF using this [bitnami helm chart](http
357357

358358
I needed to install docker on the image as well as configure the image to use our dockerd instance on the bastion located at `bastion.internal.ctf.maplebacon.org`. The Dockerfile is as follows:
359359

360-
<details>
361-
<summary>Dockerfile</summary>
360+
<details markdown="block">
361+
<summary markdown="span">Dockerfile</summary>
362362

363363
~~~
364364
FROM jenkins/inbound-agent
@@ -401,8 +401,8 @@ For debugging purposes, I brought up an Elasticsearch, Fluentd, and Kibana (EFK)
401401

402402
I created a custom image for fluentd and configured fluentd to parse and send logs in cri format. My Dockerfile and configuration for Fluentd is as follows:
403403

404-
<details>
405-
<summary>Fluentd Dockerfile</summary>
404+
<details markdown="block">
405+
<summary markdown="span">Fluentd Dockerfile</summary>
406406

407407
~~~
408408
FROM bitnami/fluentd
@@ -412,8 +412,8 @@ RUN fluent-gem install 'fluent-plugin-parser-cri' --no-document
412412

413413
</details>
414414

415-
<details>
416-
<summary>Fluentd Configmap</summary>
415+
<details markdown="block">
416+
<summary markdown="span">Fluentd Configmap</summary>
417417

418418
~~~
419419
---

0 commit comments

Comments
 (0)