mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-09-03 20:31:30 +00:00
The pdf output by default has large page margins, which wastes a lot of page space, and reduces our 'resolution'. Shrink the margins to a pretty minimal 1cm to increase the graph resolution. The document itself then does not look as 'pretty', but we can see more data visually. Signed-off-by: Graham Whaley <graham.whaley@intel.com>
28 lines
815 B
Plaintext
28 lines
815 B
Plaintext
---
|
|
# Copyright (c) 2018-2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
title: "Kubernetes metrics report"
|
|
author: "Auto generated"
|
|
date: "`r format(Sys.time(), '%d %B, %Y')`"
|
|
output:
|
|
pdf_document:
|
|
# Shrink the page margins so we get bigger/better resolution on the graphs
|
|
# Keep the top and bottom margins reasonable, as we are really interested in
|
|
# gaining 'width', and if we trim the bottom too much, we lose the page numbers.
|
|
geometry: "left=1cm, right=1cm, top=2cm, bottom=2cm"
|
|
urlcolor: blue
|
|
---
|
|
|
|
```{r setup, include=FALSE}
|
|
#Set these opts to get pdf images which fit into beamer slides better
|
|
opts_chunk$set(dev = 'pdf')
|
|
# Pick up any env set by the invoking script, such as the root dir of the
|
|
# results data tree
|
|
source("/inputdir/Env.R")
|
|
```
|
|
|
|
```{r child = 'metrics_report.Rmd'}
|
|
```
|