Skip to content

Instantly share code, notes, and snippets.

View orsenthil's full-sized avatar
🏠
Working from home

Senthil Kumaran orsenthil

🏠
Working from home
  • AWS
  • San Francisco
View GitHub Profile
apiVersion: v1
kind: Pod
metadata:
name: curl-pod
spec:
containers:
- name: curl-container
image: curlimages/curl
command: ['sh', '-c', 'while true; do sleep 30; done;']
nodeSelector:
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/VpcCni",
"description": "vpc-cni",
"definitions": {
"VpcCni": {
"type": "object",
"additionalProperties": false,
"properties": {
"env": {
@orsenthil
orsenthil / deployment.yaml
Created March 26, 2024 05:50 — forked from lvthillo/deployment.yaml
Example of NodePort service in Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
spec:
selector:
matchLabels:
run: my-app
replicas: 2
template:
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css">
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script>
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style>
<body>
<div style="max-width:900px; -webkit-transform:rotate(0deg)">
<scene id="scene1">
<label t="translate(0,346)">
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css">
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script>
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style>
<body>
<div style="max-width:900px; -webkit-transform:rotate(0deg)">
<scene id="scene1">
<label t="translate(0,346)">
[poll type=multiple results=always min=1 max=3 public=true close=2019-07-30T06:46:00.000Z]
* August 17, Saturday
* August 24, Saturday
* August 25, Sunday
[/poll]
@orsenthil
orsenthil / gist:6a851be3d0a4a631a94a7c5feb20a1b0
Created January 4, 2019 14:13
feeds_translations_helper.tmpl
## -*- coding: utf-8 -*-
## Handles both feeds and translations
<%def name="head(classification=None)">
% if rss_link:
${rss_link}
% endif
% if len(translations) > 1:
% for language in sorted(translations):
% if classification:
# dcos-e2e error message
Step 1. Created Python3.5 Virtual Environment
Step 2. Built DC/OS
Step 3. Installed DC/OS E2E
pip3 install --upgrade git+https://github.com/dcos/[email protected]
```
@orsenthil
orsenthil / Price Breakdown.md
Created November 19, 2017 02:04 — forked from justjanne/Price Breakdown.md
Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:

Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:

$5/mo

Provider Type RAM Cores Storage Transfer Network Price
LightSail vps 512MB 1 20GB SSD 1TB 1000M 5.00$
DO vps 512MB 1 20GB SSD 1TB 1000M 5.00$
d0cb085a Update version string to 1.8.10
65d66d7f Merge pull request #1663 from mesosphere/1.8.9-train-167
7c21459e Merge #1651
cd817432 upgrade navstar and minuteman to support 1k node cluster
f0b3f784 Merge pull request #1602 from mesosphere/1.8.9-train-166
f612621c Merge #1594
de6384eb Merge #1584
541afd21 Merge #1582
e1f2c91d Merge #1581
670e0bc1 Merge #1570