Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding blogs to crio.io #62

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
7 changes: 7 additions & 0 deletions _authors/john-doe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: John Doe
bio: Software Developer and Blogger
email: [email protected]
twitter: johndoe
github: johndoe
---
9 changes: 7 additions & 2 deletions _includes/cncf.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<div class="cncf-section">
<p>
CRI-O is a <a href="https://cncf.io" target="_blank">Cloud Native Computing Foundation</a> incubating project.
CRI-O is a <a href="https://cncf.io" target="_blank">Cloud Native Computing Foundation</a> graduated project.
</p>

<img class="cncf-section-logo" src="/logo/cncf-logo.png" alt="Cloud Native Computing Foundation logo">
</div>
<p>
2023 © CRI-O Project Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page:
<a href="https://www.linuxfoundation.org/trademark-usage">https://www.linuxfoundation.org/trademark-usage</a>
</p>
</div>
20 changes: 20 additions & 0 deletions _layouts/blog-post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: default
---

<div class="container">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">
Posted by {{ page.author }} on {{ page.date | date: "%B %-d, %Y" }}
</p>
</header>

<article class="post-content">
{{ content }}
</article>

<footer class="post-footer">
<!-- Add any additional footer content here -->
</footer>
</div>
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
<div class="page-header-content">
<h1 class="project-name"><span class="sr-only">{{ site.title | default: site.github.repository_name }}</span></h1>
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
<!-- The blog site has not had an update in 3 years, uncomment if it becomes active
<p class="project-blog"><a href="https://medium.com/cri-o">Visit blog</a></p>
-->
</div>
</section>

Expand Down
7 changes: 7 additions & 0 deletions _posts/2023-09-22-my-first-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: blog-post
title: My First Blog Post
author: John Doe
date: 2023-09-22
---
The content of your blog post goes here.
11 changes: 10 additions & 1 deletion blog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
layout: redirectblog
layout: default
title: Blog Posts
---

## Blog Posts

{% for post in site.posts %}
- [{{ post.title }}]({{ post.url }})
- Author: {{ post.author }}
- Date: {{ post.date | date: "%B %-d, %Y" }}
{% endfor %}
74 changes: 59 additions & 15 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ layout: default
* **kubeadm**: Checkout this [kubeadm guide](https://github.com/cri-o/cri-o/blob/master/tutorials/kubeadm.md) to setup `kubeadm` to use CRI-O
* **Kubic**: Configured to use CRI-O [out of the box](https://kubic.opensuse.org/blog/2018-09-17-crio-default/) in both its `kubeadm` and `microOS` system roles

Join #cri-o on IRC (freenode)
Join #crio on [Kubernetes Slack](https://slack.k8s.io/)

### Distribution Packaging

* **Fedora**: Available on all supported Fedora versions.
* Fedora 30 and later

Before installing CRI-O, it is recommended to list all the versions available for the current distro release.
Example:
```shell
Expand All @@ -29,18 +28,65 @@ Join #cri-o on IRC (freenode)
dnf install cri-o
```

* Fedora 29
```shell
dnf install cri-o
```

* **openSUSE**: Available on Tumbleweed and [Kubic](https://kubic.opensuse.org) (installed by default on Kubic)

zypper in cri-o
* **Ubuntu**: Available as a [PPA](https://launchpad.net/~projectatomic/+archive/ubuntu/ppa)
* **Centos**: Available from the [PAAS CRI-O repo](https://cbs.centos.org/repos/paas7-crio-311-candidate/x86_64/os/)
```shell
zypper in cri-o
```

* **Centos**: Available on the following versions

To install on the following operating systems, set the environment variable `$OS` as the appropriate field in the following table:

| Operating system | $OS |
| ---------------- | ----------------- |
| Centos 8 | `CentOS_8` |
| Centos 8 Stream | `CentOS_8_Stream` |
| Centos 7 | `CentOS_7` |

Then, set `$VERSION` to be the cri-o version matching your kubernetes version.
For instance, if you want to install cri-o 1.17, `VERSION=1.17`
We also support pinning to a particular release. To install 1.17.3, `VERSION=1.17:1.17.3`

And then run the following as root:
```shell
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/devel:/kubic:/libcontainers:/stable.repo
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable:cri-o:$VERSION.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/devel:kubic:libcontainers:stable:cri-o:$VERSION.repo
yum install cri-o
```

* **Ubuntu/Debian**:
To install on the following operating systems, set the environment variable `$OS` as the appropriate field in the following table:

| Operating system | $OS |
| ---------------- | ----------------- |
| Debian 12 | `Debian_12` |
| Debian 11 | `Debian_11` |
| Debian 10 | `Debian_10` |
| Ubuntu 20.04 | `xUbuntu_20.04` |
| Ubuntu 19.10 | `xUbuntu_19.10` |
| Ubuntu 19.04 | `xUbuntu_19.04` |
| Ubuntu 18.04 | `xUbuntu_18.04` |

Then, set `$VERSION` to be the cri-o version matching your kubernetes version.
For instance, if you want to install cri-o 1.17, `VERSION=1.17`
We also support pinning to a particular release. To install 1.17.3, `VERSION=1.17:1.17.3`

And then run the following as root:
```shell
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
echo "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$VERSION.list

curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/Release.key | apt-key add -
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | apt-key add -

apt-get update
apt-get install cri-o cri-o-runc
```

* **RHEL**: Available with OpenShift

For more information on installation, visit our [install guide](https://github.com/cri-o/cri-o/blob/master/install.md).

### CRI-O Running Kubernetes Pods

<script type="text/javascript" src="https://asciinema.org/a/124131.js" id="asciicast-124131" async></script>
Expand Down Expand Up @@ -122,7 +168,7 @@ Various CNI plugins such as Flannel, Weave and OpenShift-SDN have been tested wi

### Monitoring

[conmon](https://github.com/cri-o/cri-o/tree/master/conmon) is a utility within CRI-O that is used to
[conmon](https://github.com/containers/conmon) is a utility within CRI-O that is used to
monitor the containers, handle logging from the container process, serve attach clients and detects Out Of Memory (OOM)
situations.

Expand All @@ -136,9 +182,7 @@ and other security separation policies as specified in the OCI Specification.
You can find us at:

- [GitHub](https://github.com/cri-o/cri-o)
- IRC: FreeNode, #cri-o channel
- Slack: Kubernetes #crio

- Slack: [Kubernetes](https://slack.k8s.io/) #crio

<a class="twitter-timeline" href="https://twitter.com/hashtag/%22cri-o%22" data-widget-id="862337196434632704">#"cri-o" Tweets</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>