Skip to content

Commit 11b8563

Browse files
committed
Add LLMs on Kubernetes blog post
1 parent daba2c0 commit 11b8563

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+544
-104
lines changed

package-lock.json

Lines changed: 58 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@astrojs/check": "^0.9.5",
16+
"@astrojs/rss": "^4.0.14",
1617
"@astrojs/sitemap": "^3.6.0",
1718
"astro": "^5.15.9",
1819
"prettier": "^3.6.2",

src/assets/blog/chip.jpg

406 KB
Loading
281 KB
Loading

src/assets/rss.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/BlogCard.astro

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ import FlipCard from "./FlipCard.astro";
88
interface Props {
99
id: string;
1010
title: string;
11-
excerpt: string;
11+
description: string;
1212
author: string;
13-
date: Date;
13+
pubDate: Date;
1414
tags: string[];
1515
image: ImageMetadata;
1616
}
17-
const { id, title, excerpt, author, date, tags, image } = Astro.props;
17+
const { id, title, description, author, pubDate, tags, image } = Astro.props;
1818
1919
const { translatePath } = useI18n(Astro.url);
2020
21-
const formattedDate = formatDate(date);
21+
const formattedDate = formatDate(pubDate);
2222
---
2323

2424
<a href={translatePath(`/blog/${id}`)}>
2525
<FlipCard>
2626
<div slot="front" class="front">
2727
<h3>{title}</h3>
28-
<p class="excerpt">{excerpt}</p>
28+
<p class="description">{description}</p>
2929
<div class="meta">
3030
<span class="author">{author}</span>
3131
<span class="separator">•</span>
32-
<time datetime={date.toISOString()}>{formattedDate}</time>
32+
<time datetime={pubDate.toISOString()}>{formattedDate}</time>
3333
</div>
3434
<div class="tags">
3535
{tags.map((tag) => <span class="tag">{tag}</span>)}
@@ -96,7 +96,7 @@ const formattedDate = formatDate(date);
9696
color: var(--color-primary);
9797
}
9898

99-
.excerpt {
99+
.description {
100100
color: var(--color-text-dark);
101101
margin: 0 0 1rem 0;
102102
line-height: 1.6;

src/components/Work.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ blogPosts.forEach((b) => {
2323
id: b.id,
2424
type: t("work.type.blog"),
2525
title: b.data.title,
26-
date: b.data.date,
26+
date: b.data.pubDate,
2727
});
2828
});
2929
customers.forEach((c) => {
3030
workItems.push({
3131
id: c.id,
3232
type: t("work.type.story"),
3333
title: c.data.title,
34-
date: c.data.date,
34+
date: c.data.pubDate,
3535
});
3636
});
3737

src/content.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const blog = defineCollection({
77
z.object({
88
title: z.string(),
99
author: z.string(),
10-
date: z.coerce.date(),
10+
pubDate: z.coerce.date(),
1111
tags: z.array(z.string()),
12-
excerpt: z.string(),
12+
description: z.string(),
1313
image: image(),
1414
}),
1515
});
@@ -21,7 +21,7 @@ const customers = defineCollection({
2121
title: z.string(),
2222
company: z.string(),
2323
logo: image(),
24-
date: z.coerce.date(),
24+
pubDate: z.coerce.date(),
2525
results: z.array(z.string()),
2626
quote: z.string(),
2727
authorName: z.string(),

src/content/blog/api-contract-definitions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: API Contract Definitions
33
author: Lena Fuhrimann
4-
date: 2022-10-11
4+
pubDate: 2022-10-11
55
tags: ["api", "contracts", "openapi", "graphql", "grpc"]
6-
excerpt:
6+
description:
77
"Explore different technologies for defining service contracts including
88
OpenAPI, GraphQL, and gRPC, and learn best practices for maintaining
99
specification and implementation in sync."

src/content/blog/blue-green-deployment-on-cloud-foundry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Blue Green Deployment on Cloud Foundry
33
author: Lena Fuhrimann
4-
date: 2016-12-12
4+
pubDate: 2016-12-12
55
tags: ["cloud-foundry", "deployment", "devops", "automation"]
6-
excerpt:
6+
description:
77
"Learn how to implement blue-green deployment on Cloud Foundry to achieve
88
zero-downtime updates and safely roll back changes using a simple shell
99
script."

0 commit comments

Comments
 (0)