This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"paragraphs":[{"text":"%md\n##General description of the study site and sampling strategy\nGeneral description of the study site and sampling strategy These results are part of a ongoing long-term monitoring program that is being carried out on the west coast of Portugal at Parede/Avencas (38º41'08''N, 9º21'20''W). A 0.04 Km2 portion of an intertidal rocky-shore area which is part of a large rocky platform is being sampled since May 2006. The shoreline is oriented in south-southwesterly directions and is located in the northern margin adjacent to the Tagus estuary. Intertidal sampling is performed during low-tide, in each full and new moon period, using hand nets (mesh size<1mm). Non-destructive sampling consists in the counting and capture of non-resident fish specimens that are measured and subsequently released at the same site where they were previously captured\n","dateUpdated":"2016-12-20T01:37:49+0000","config":{"colWidth":12,"graph":{"mode":"table","height":300,"optionOpen":false,"keys":[],"values":[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
masterPublicName: api.kops.${project}.${enterprise}.enterprise.${vendor}.k8s.local | |
networkCIDR: ${vpc_cidr} | |
networkID: ${vpc_id} | |
networking: | |
weave: | |
mtu: 8912 | |
nonMasqueradeCIDR: 100.64.0.0/10 | |
sshAccess: | |
- 0.0.0.0/0 | |
subnets: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
#Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
#Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file | |
#except in compliance with the License. A copy of the License is located at | |
# | |
# http://aws.amazon.com/apache2.0/ | |
# | |
#or in the "license" file accompanying this file. This file is distributed on an "AS IS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bootstrap_action = [ | |
... | |
{ | |
path = "s3://${aws_s3_bucket_object.emr_bootstrap_assign_private_ip.bucket}/${aws_s3_bucket_object.emr_bootstrap_assign_private_ip.id}" | |
name = "${aws_s3_bucket_object.emr_bootstrap_assign_private_ip.key}" | |
args = [ | |
"${lookup(local.spark_batch_cluster_01, "fixed_ip")}" | |
] | |
}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export IS_MASTER=$(cat /mnt/var/lib/info/instance.json | jq -r ".isMaster") | |
export INSTANCE_GROUP_ID=$(cat /mnt/var/lib/info/instance.json | jq -r ".instanceGroupId") | |
export CLUSTER_ID=$(cat /mnt/var/lib/info/job-flow.json | jq -r ".jobFlowId") | |
export INSTANCE_ID=$(wget -q -O - http://169.254.169.254/latest/meta-data/instance-id) | |
export INSTANCE_GROUP_TYPE=$(cat /mnt/var/lib/info/job-flow.json | jq -r ".instanceGroups | .[] | select( .instanceGroupId == \"${INSTANCE_GROUP_ID}\") | .instanceRole" | tr a-z A-Z) | |
export CURRENT_TAG_NAME=$(aws ec2 --region ap-northeast-2 describe-tags --filters Name=resource-id,Values=${INSTANCE_ID} | jq -r ".Tags | .[] | select( .Key == \"Name\") | .Value") | |
export NEW_TAG_NAME="${CURRENT_TAG_NAME}-${INSTANCE_GROUP_TYPE}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locals { | |
spot_default_factor = 0.8 | |
spot_on_demand_price_r5xlarge = 0.304 | |
spot_bid_price_r5xlarge = "${format("%.2f", __builtin_StringToFloat(local.spot_on_demand_price_r5xlarge) * __builtin_StringToFloat(local.spot_default_factor))}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/ | |
helm repo update | |
RELEASE=jupyterhub | |
NAMESPACE=jupyterhub | |
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/master/jupyterhub/values.yaml | |
helm upgrade --install $RELEASE jupyterhub/jupyterhub \ | |
--namespace $NAMESPACE \ | |
--version=0.8.0-beta.1 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_group_launch_template_count = 2 | |
worker_groups_launch_template = [ | |
{ | |
# Jupyter Pod 을 위한 Spot 인스턴스 그룹 | |
name = "ig-01" | |
instance_type = "c5.xlarge" | |
override_instance_type = "c5.2xlarge" | |
kubelet_extra_args = "--node-labels=eks-instance-group=ig-01,eks-compute-type=cpu" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy: | |
nodeSelector: | |
eks-compute-type: none | |
hub: | |
nodeSelector: | |
eks-compute-type: none | |
singleuser: | |
nodeSelector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
singleuser: | |
... | |
memory: | |
limit: 2G | |
guarantee: 1G | |
cpu: | |
limit: 1 | |
guarantee: .25 |