Skip to content

Commit 5faa278

Browse files
committed
Fixed wrong_author-bug38, other changes made
Added about page with content about me Made design changes, general UI template changes, especially the landing page Refactored code, updated from Class to Functional components, added async functionality in config and node files Created new Component Understood more about the system, how the theme switching worked, how state were passed.
1 parent f117862 commit 5faa278

31 files changed

+562
-477
lines changed

content/google-foobar-first-codechallenge-caesar-cipher.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ categories: ['google', 'challenge', 'series', 'cipher']
66
keywords: ['google', 'challenge', 'series', 'cipher', 'first', 'caesar']
77
slug: google-foobar-first-challenge-caesar-cipher
88
cover: './img/google-foobar-first-challenge-solved.png'
9-
type: 'BlogPost'
9+
type: 'Blog'
1010
---
11-
11+
1212
In this post I will share my experience solving the first `Google FooBar Challenge`.
1313

1414
While doing some search on Google, I received an invitation to participate in a code challenge by Google. I had no previous idea about it, frankly never heard of it. I accepted the invitation and I was redirected to [FooBar](https://foobar.withgoogle.com). After log in, a `CLI` with the instructions about the challenge and how to request a challenge was provided. The challenge had to be solved within 2 days.

content/img/kubernetes-banner.png

164 KB
Loading

content/img/kubernetes-objects.jpg

70.5 KB
Loading

content/img/kubernetes-objects.png

27.7 KB
Loading

content/kubernetes-components-part_3.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22

3-
title: Kubernetes Componets
4-
subtitle: Understanding Kubernetes Components
3+
title: Kubernetes Components
4+
subtitle: A at the building blocks in simple terms for quick understanding
55
date: '2020-07-12'
66
categories: ['kubernetes', 'devops', 'basics']
77
keywords: ['kubernetes', 'devops', 'basics', 'series', 'part_3', 'components']
88
slug: kubernetes-components
9-
cover: './img/kubernetes.png'
10-
type: 'BlogPost'
9+
cover: './img/kubernetes-overview.png'
10+
type: 'Blog'
1111

1212
---
1313

14-
__Please review the previous parts of this series for better understanding:__
15-
- [Kuberenetes Overview](https://codeanit.com/posts/kubernetes-overview)
16-
- [Kubernetes Objects](https://codeanit.com/posts/kubernetes-objects)
14+
__Review previous parts of this series for better understanding:__
15+
- [Kuberenetes Overview](https://codeanit.com/blog/kubernetes-overview)
16+
- [Kubernetes Objects](https://codeanit.com/blog/kubernetes-objects)
1717

1818
__This is third part of the Kubernetes series. In this part I will try to add more insights into the essential parts of Kubernetes. I will add more details on the topics in later in the series or there will separate posts as the topics needs.__
1919

@@ -70,4 +70,4 @@ Kubernetes includes some internal monitoring tools by default. These resources b
7070
**Kubernetes** is a large system with many parts functioning as a unit. It has resolved many issues in managing containerized distributed application but before using it in production, it is recommended to understand it very well.
7171

7272

73-
__I will share about [Kubernetes Service](https://codeanit.com/posts/kubernetes-services) next.__
73+
__I will share about [Kubernetes Service](https://codeanit.com/blog/kubernetes-services) next.__

content/kubernetes-controller-part_5.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
22

33
title: Kubernetes Controller
4-
subtitle: Understanding Controllers In Depth
4+
subtitle: The brain of the system that keeps track of all the other parts
55
date: '2020-07-15'
66
categories: ['kubernetes', 'devops']
77
keywords: ['kubernetes', 'devops', 'overview', 'series', 'part_5', 'controllers']
88
slug: kubernetes-controllers
9-
cover: './img/kubernetes.png'
9+
cover: './img/kubernetes-overview.png'
1010
type: 'BlogPost'
1111

1212
---
1313

14-
__Please review the previous parts of this series for better understanding:__
15-
- [Kuberenetes Overview](https://codeanit.com/posts/kubernetes-overview)
16-
- [Kubernetes Objects](https://codeanit.com/posts/kubernetes-objects)
17-
- [Kubernetes Components](https://codeanit.com/posts/kubernetes-components)
18-
- [Kubernetes Service](https://codeanit.com/posts/kubernetes-services)
14+
__Review previous parts of this series for better understanding:__
15+
- [Kuberenetes Overview](https://codeanit.com/blog/kubernetes-overview)
16+
- [Kubernetes Objects](https://codeanit.com/blog/kubernetes-objects)
17+
- [Kubernetes Components](https://codeanit.com/blog/kubernetes-components)
18+
- [Kubernetes Service](https://codeanit.com/blog/kubernetes-services)
1919

2020
__This is fifth part of the Kubernetes series. In this part I will try to add more insights into Kubernetes `Controller`.__
2121

@@ -56,4 +56,4 @@ Build on jobs,
5656
**Controller** are the essential parts of Kubernetes which makes `Pods` management easy Kubernetes.
5757

5858

59-
__I will share about [Kubernetes Volume](https://codeanit.com/posts/kubernetes-volume) next.__
59+
__I will share about [Kubernetes Volume](https://codeanit.com/blog/kubernetes-volume) next.__

content/kubernetes-objects-part_2.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
22

33
title: Kubernetes Objects
4-
subtitle: Understanding the Kubernetes Objects
4+
subtitle: Essential building blocks of the complicated system
55
date: '2020-07-09'
6-
categories: ['kubernetes', 'devops']
7-
keywords: ['kubernetes', 'devops', 'overview', 'series', 'part_2', 'objects']
6+
categories: ['kubernetes', 'devops', 'basics']
7+
keywords: ['kubernetes', 'devops', 'basics', 'overview', 'series', 'part_2', 'objects']
88
slug: kubernetes-objects
9-
cover: './img/kubernetes.png'
10-
type: 'BlogPost'
9+
cover: './img/kubernetes-objects.png'
10+
type: 'Blog'
1111

1212
---
1313

14-
__Please review [Kuberenetes Overview](https://codeanit.com/posts/kubernetes-overview)__
14+
__Review [Kuberenetes Overview](https://codeanit.com/blog/kubernetes-overview)__
1515

1616
__This is the second part of the Kubernetes series. In this part I will try to add more insights into Kubenetes Objects.__
1717

1818

1919
# **Kubernetes Objects**
2020
`Kubernetes Objects` are persistent entities in `Kubernetes`. All objects have unique names that allows idempotent creation and retrieval. These objects are stored in `etcd`database as a key-value pair. Objects can categorized as the `Basic Objects` which determines the deployed containerized application's workloads, their associated network and disk resources, and `Higher Level Objects` which are build upon the basic objects to provide additional functionality and convenience features to manage the workloads. Higher level objects have a long-running service-like lifecycle, except `Jobs`.
21-
Basic objects: `Pod`, `Service`, `Volume` and `Namespace`
22-
Higher level objects `Replication Controllers`, `Replication Sets`, `Deployments`, `Stateful Sets`, `Daemon Sets ,`Jobs` and `Cron Jobs`
21+
- Basic Objects: Pod, Service, Volume and Namespace
22+
- Higher Level Objects: Replication Controllers, Replication Sets, Deployments, Stateful Sets, Daemon Sets Jobs and Cron Jobs
2323

2424
Every `Kubernetes Object` definition is a `YAML` file that contains at least the following items:
2525
- `apiVersion`: The version of the Kubernetes API that the definition belongs to.
@@ -35,4 +35,4 @@ Kubernetes Objects are the fundamental units that define how the many units exis
3535
These building blocks must be understood in details to make the good use of Kubernetes.
3636

3737

38-
__I will share about [Kubernetes Components](https://codeanit.com/posts/kubernetes-components) next.__
38+
__I will share about [Kubernetes Components](https://codeanit.com/blog/kubernetes-components) next.__

content/kubernetes-overview-part_1.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22

33
title: Kubernetes Overview
4-
subtitle: Understanding the overview of Kubernetes
4+
subtitle: The easiest way to visualize components and how they work
55
date: '2020-07-01'
66
categories: ['kubernetes', 'devops']
77
keywords: ['kubernetes', 'devops', 'overview', 'series', 'part_1']
88
slug: kubernetes-overview
9-
cover: './img/kubernetes.png'
10-
type: 'BlogPost'
9+
cover: './img/kubernetes-banner.png'
10+
type: 'Blog'
1111

1212
---
1313

@@ -65,4 +65,4 @@ Traditionally, applications used to run on one or more `Physical Servers`. The m
6565
Although it has simplified managing containerized distributed application, it is recommended to understand it very well befor using it production.
6666

6767

68-
__I will share about [Kubernetes Objects](https://codeanit.com/posts/kubernetes-objects) next.__
68+
__I will share about [Kubernetes Objects](https://codeanit.com/blog/kubernetes-objects) next.__

content/kubernetes-service-part_4.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
---
22

33
title: Kubernetes Service
4-
subtitle: Understanding Kubernetes Services
4+
subtitle: An important component that manages routes and containers
55
date: '2020-07-14'
66
categories: ['kubernetes', 'devops']
77
keywords: ['kubernetes', 'devops', 'overview', 'series', 'part_4', 'services']
88
slug: kubernetes-services
9-
cover: './img/kubernetes.png'
10-
type: 'BlogPost'
9+
cover: './img/kubernetes-service.png'
10+
type: 'Blog'
1111

1212
---
1313

14-
__Please review the previous parts of this series for better understanding:__
15-
- [Kuberenetes Overview](https://codeanit.com/posts/kubernetes-overview)
16-
- [Kubernetes Objects](https://codeanit.com/posts/kubernetes-objects)
17-
- [Kubernetes Components](https://codeanit.com/posts/kubernetes-components)
14+
__Review previous parts of this series for better understanding:__
15+
- [Kuberenetes Overview](https://codeanit.com/blog/kubernetes-overview)
16+
- [Kubernetes Objects](https://codeanit.com/blog/kubernetes-objects)
17+
- [Kubernetes Components](https://codeanit.com/blog/kubernetes-components)
1818

1919
__This is fourth part of the Kubernetes series. In this part I will try to add more insights into Kubernetes `Service`.__
2020

2121

2222
# What is a Service in Kubernetes?
23-
A `Service` groups `Pods` together that perform the same function as a single entity. It keeps track of containers in the Pods and routes to the Containers for internal and external access. A Service’s IP address remains stable regardless of changes to the Pods it routes to, which makes it easy to gain discoverability and can simplify Containers designs. By default, Services are only available using an internally routable IP address, they can be made available outside of the Cluster by choosing one of several strategies.
23+
A `Service` groups `Pods` together that perform the same function as a single entity. It keeps track of containers in the Pods and routes to the containers for internal and external access. A Service’s IP address remains stable regardless of changes to the Pods it routes to, which makes it easy to gain discoverability and can simplify containers designs. By default, Services are only available using an internally routable IP address, they can be made available outside of the Cluster by choosing one of several strategies.
2424

2525
# Types Of Services
26-
There are 4 types of Kubernetes Services, specified by the type `field` in the `Service Configuration File`:
26+
There are 4 types of Services, specified by the type `field` in the `Service Configuration File`:
2727

2828
- `ClusterIP` is the default, which grants the Service a stable internal IP accessible from anywhere inside of the cluster.
2929

@@ -39,4 +39,4 @@ Creating LoadBalancer for each Deployment running in the cluster will create a n
3939
**Services** are the essential parts of Kubernetes which provides secure communication mechanism with in the Kubernetes infrastructure.
4040

4141

42-
__I will share about [Kubernetes Controller](https://codeanit.com/posts/kubernetes-controllers) next.__
42+
__I will share about [Kubernetes Controller](https://codeanit.com/blog/kubernetes-controllers) next.__

content/kubernetes-volume-part_6.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
---
22

33
title: Kubernetes Volume
4-
subtitle: Understanding How Kubernetes Stores Information
4+
subtitle: The storage management system
55
date: '2020-07-16'
66
categories: ['kubernetes', 'devops']
77
keywords: ['kubernetes', 'devops', 'overview', 'series', 'part_6', 'volume']
88
slug: kubernetes-volume
9-
cover: './img/kubernetes.png'
10-
type: 'BlogPost'
9+
cover: './img/kubernetes-volume.png'
10+
type: 'Blog'
1111

1212
---
1313

14-
__Please review the previous parts of this series for better understanding:__
15-
- [Kuberenetes Overview](https://codeanit.com/posts/kubernetes-overview)
16-
- [Kubernetes Objects](https://codeanit.com/posts/kubernetes-objects)
17-
- [Kubernetes Components](https://codeanit.com/posts/kubernetes-components)
18-
- [Kubernetes Service](https://codeanit.com/posts/kubernetes-services)
19-
- [Kubernetes Controller](https://codeanit.com/posts/kubernetes-controllers)
14+
__Review previous parts of this series for better understanding:__
15+
- [Kuberenetes Overview](https://codeanit.com/blog/kubernetes-overview)
16+
- [Kubernetes Objects](https://codeanit.com/blog/kubernetes-objects)
17+
- [Kubernetes Components](https://codeanit.com/blog/kubernetes-components)
18+
- [Kubernetes Service](https://codeanit.com/blog/kubernetes-services)
19+
- [Kubernetes Controller](https://codeanit.com/blog/kubernetes-controllers)
2020

2121
__This is the sixth part of the Kubernetes series. In this part I will try to add more insights into Kubernetes `Volume`__
2222

23-
# Storage Management
24-
Kubernetes stores information
25-
2623
# **Volume**
2724
`Volume`is simply an abstraction of data in the form of file and directory within a Pod. It exists as long as its Pod exists.
2825

content/website-with-gatsbyjs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ categories: ['general', 'framework', 'website']
77
keywords: ['website', 'blog', 'gatsby', 'javascript', 'typescript', 'jam-stack', 'static-wesite']
88
slug: website-with-gatsby
99
cover: './img/gatsbyjs-logo-banner.jpg'
10-
type: 'BlogPost'
10+
type: 'Blog'
1111

1212
---
1313

gatsby-config.js

+22-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
var path = require("path");
1+
/**
2+
*
3+
*
4+
* Gatsby's Config APIs is implemented in this file.
5+
*
6+
* See: https://www.gatsbyjs.org/docs/gatsby-config
7+
*
8+
*
9+
*/
10+
11+
12+
const path = require("path");
213

314
module.exports = {
415
siteMetadata: {
@@ -10,10 +21,10 @@ module.exports = {
1021
'Technical Articles',
1122
'Programming Blog',
1223
],
13-
title: "Technical Blog by Anit Shrestha Manandhar.",
24+
title: "Anit Shrestha Manandhar | Software Development Service | Blog",
1425
titleAlt: 'codeanit.com',
1526
description:
16-
"I am not an expert, I code for a living. I have some experience building software systems that solves the problems. Interested in mind, body and technology. Here are few things I learn and share my view about tech.",
27+
"Anit is a hands-on code experienced software engineer who blogs and provides software development service.",
1728
url: 'https://codeanit.com', // Site domain without trailing slash
1829
siteUrl: 'https://codeanit.com/', // url + pathPrefix
1930
siteLanguage: 'en', // Language Tag on <html> element
@@ -48,7 +59,7 @@ module.exports = {
4859
subtitle: node => node.frontmatter.subtitle,
4960
content: node => node.rawBody,
5061
date: node => node.frontmatter.date,
51-
slug: node => `/posts/${node.frontmatter.slug}`,
62+
slug: node => `/blog/${node.frontmatter.slug}`,
5263
keywords: node => node.frontmatter.keywords,
5364
},
5465
},
@@ -58,7 +69,7 @@ module.exports = {
5869
{
5970
resolve: `gatsby-source-filesystem`,
6071
options: {
61-
name: `posts`,
72+
name: `blog`,
6273
path: `${__dirname}/content/`,
6374
},
6475
},
@@ -151,12 +162,12 @@ module.exports = {
151162
pathToConfigModule: './src/utils/typography',
152163
},
153164
},
154-
{
155-
resolve: `gatsby-plugin-page-creator`,
156-
options: {
157-
path: path.resolve(__dirname, `src/pages`),
158-
},
159-
},
165+
// {
166+
// resolve: `gatsby-plugin-page-creator`,
167+
// options: {
168+
// path: path.resolve(__dirname, `src/pages`),
169+
// },
170+
// },
160171
'gatsby-plugin-emotion',
161172
'gatsby-plugin-react-helmet',
162173
'gatsby-plugin-twitter',

0 commit comments

Comments
 (0)